There is a square of size $$$a \times a$$$. In its top left corner there is a square brush of size $$$b \times b$$$. You should use this brush to paint a square (you can assume that the top left corner of size $$$b \times b$$$ is already painted). It is allowed to move a brush only in parallel to the square's sides. What is the minimal distance the center of the brush should pass to make the whole square painted?
The input contains two integers $$$a$$$ and $$$b$$$ ($$$1 \le b \le a \le 10^{6}$$$) — the sides of the square and the brush, correspondingly.
Output a single integer — the minimal distance that should be passed by the center of the brush. It is guaranteed that the answer is an integer.
4 2
6
4 3
3
9 3
24
1000000 1
999999999999
| Name |
|---|


