CPython lite logoProblemsContests

35. Multiples of 4

Find the count of numbers divisible by 4 in the interval [a,b].


Input

In the first line, an integer a(1000a1000).

In the second line, an integer b(1000b1000).

Output

A single line with the solution to the problem.


Sample input 1

0 
5

Sample output 1

2

Sample input 2

6
-5

Sample output 2

3

Sample input 3

-10
10

Sample output 3

5

Login to be able to submit.

BasicLoops
265 / 63
Solved / unsolved count
1.0 s / 512 MB
Limits