#abc191d. [abc191_d]Circle Lattice Points

[abc191_d]Circle Lattice Points

Problem Statement

We have a circle of radius RR centered at (X,Y)(X, Y).
Find the number of grid points (points whose xx- and yy-coordinates are both integers) within or on the circle.

Constraints

  • Xle105|X| \\le 10^5
  • Yle105|Y| \\le 10^5
  • 0ltRle1050 \\lt R \\le 10^5
  • Each of XX, YY, and RR has at most four digits after the decimal point.

Input

Input is given from Standard Input in the following format:

XX YY RR

Output

Print the answer.


Sample Input 1

0.2 0.8 1.1

Sample Output 1

3

The circle is shown below. The grid points within or on the circle are marked red.

Figure


Sample Input 2

100 100 1

Sample Output 2

5

XX, YY, and RR may not have decimal points. Note that we also count the grid points on the circle.


Sample Input 3

42782.4720 31949.0192 99999.99

Sample Output 3

31415920098