The number of integers between the numbers#677

The number of integers between the numbers

1 second
64 megabytes
Very easy (≈850)

Determine and output the number of integers that exist between the integers a and b.

Input

Two integers, separated by a space, each not exceeding 10^18.

Output

The solution to the problem.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading