Staircase#2697

Staircase

1 second
128 megabytes
Easy

In the magical land of Vegetables, there is the longest staircase in the world, leading to the top of Mount Watermelon. A bunny stands on step number , and can jump steps up or steps down. On step number grows a magical cabbage, which the bunny likes very much. Help determine whether the bunny can reach step number .

Input

Four integers , , , (0 < x, y < 10^6,\ 0 < |a|, |b| < 100).

Output

Print the minimum number of jumps needed to reach the target step, or if it is not possible.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading

Example 3

Loading
Loading