The floor of Dr. Hideyo's house is covered with square tiles. Dr. Hideyo, who has an interest in art, decides to paint the tiles with red, yellow, and blue paint. To begin, he selects one appropriate tile in the room and paint it with the following method.
What color are the tiles in the east-west direction $x$ and in the north-south direction $y$ moved from the first tile painted red? Let the east direction be the positive direction of $x$ and the north direction be the positive direction of $y$.
Write a program that takes $x$ and $y$ as input and outputs the color of the tile.
The input is given in the following form.
$x$ $y$
$x$ and $y$ ($-10^6 \leq x,y \leq 10^6$) are given in a line.
Output 1 when the tile color is red, 2 when the tile color is yellow, and 3 when the tile color is blue on one line.
0 0
1
-4 5
2
8 -14
3