The seats of a concert hall sit on concentric circles whose radii are positive integers, centered on the stage in the middle. The circle of radius 1 holds 1 seat, the circle of radius 2 holds 2 seats, and in the same way the circle of radius D holds D seats. The seats on one circle are spaced evenly, and every circle has one seat exactly north of the stage.
This performance uses only the seats on the circles whose radius is at least D1 and at most D2. Treating each seat as a point, a seat is left unused when a seat closer to the stage in the same direction hides the center of the stage from it. Every seat that is not hidden is used. Only the seats on the circles used for this performance, that is the circles of radius D1 to D2, can hide another seat.

The figure shows the seats and their use for D1=3 and D2=6. The numbers are the radii of the circles, ● is a seat used for the performance, and ⊗ is a seat that is not used.
Write a program that reads the two radii D1 and D2 and prints how many seats are used.
The first line contains the radii D1 and D2 as positive integers separated by a space, with 1≤D1≤D2≤2000.
Print the number of seats that are used as a single positive integer.