**Time limit:**1.00 s**Memory limit:**512 MB

**Input**

The only input line has two integers $a$ and $b$.

**Output**

Print one integer: the minimum number of moves.

**Constraints**

- $1 \le a,b \le 500$

**Example**

Input:

`3 5`

Output:

`3`

**Time limit:**1.00 s**Memory limit:**512 MB

The only input line has two integers $a$ and $b$.

Print one integer: the minimum number of moves.

- $1 \le a,b \le 500$

Input:

`3 5`

Output:

`3`