The number of perfect squares is 2.#683

The number of perfect squares is 2.

1 second
64 megabytes
Very easy (≈850)

Determine and output the count of natural perfect squares that fall within the interval [a, b].

Input

Two natural numbers, a and b, provided on a single line separated by a space (1 \leq a, b \leq 10^{12}).

Output

The solution to the problem.

Examples

Example 1

Loading
Loading