Number of even numbers on the segment#676

Number of even numbers on the segment

1 second
64 megabytes
Very easy (≈850)

Determine and output the number of even integers within the interval [a, b].

Input

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

Output

The solution to the problem.

Examples

Example 1

Loading
Loading