#D9005. Simple Calculator

    ID: 7486 Type: Default 2000ms 268MiB

Simple Calculator

Simple Calculator

Snuke has a calculator. It has a display and two buttons.

Initially, the display shows an integer x. Snuke wants to change this value into another integer y, by pressing the following two buttons some number of times in arbitrary order:

  • Button A: When pressed, the value on the display is incremented by 1.
  • Button B: When pressed, the sign of the value on the display is reversed.

Find the minimum number of times Snuke needs to press the buttons to achieve his objective. It can be shown that the objective is always achievable regardless of the values of the integers x and y.

Constraints

  • x and y are integers.
  • |x|, |y| ≤ 10^9
  • x and y are different.

Input

The input is given from Standard Input in the following format:

x y

Output

Print the minimum number of times Snuke needs to press the buttons to achieve his objective.

Examples

Input

10 20

Output

10

Input

10 -10

Output

1

Input

-10 -20

Output

12

inputFormat

Input

The input is given from Standard Input in the following format:

x y

outputFormat

Output

Print the minimum number of times Snuke needs to press the buttons to achieve his objective.

Examples

Input

10 20

Output

10

Input

10 -10

Output

1

Input

-10 -20

Output

12

样例

10 20
10