Category

Similar Problems

0727. Circle

Time limit : 1000 ms
Memory limit : 64 mb

How many points with integer coordinates are in a circle with radius R?



   Input

One integer number - radius of a circle R (1≤R105).

   Output

  One number - required quantity of points.

Samples

Input

Output

1

2

13

 

Tayyorladi: Azat Yusupov
Text from: e-olimp.com