As a very first test to decide if this is indeed a good pseudo-random number generator, Donald wishes to count the number of even values produced by this sequence, in order to check whether this is close enough to $$$50\%$$$. Your help will be welcome.
The input consists of a single line, containing an integer $$$N$$$.
Limits
The input satisfies $$$0 \le N \lt 2^{63}$$$.
The output should contain a single line with a single integer corresponding to the number of even values in the sequence $$$S(0), S(1) , \ldots , S(N-1)$$$.
3
2
500000000
250065867
| Name |
|---|


