LearnPy Hub
← Arena
EasyRating 800

Sum of Even Numbers

Print the sum of all even numbers from 1 to n.

Input

One integer n (1 ≤ n ≤ 10⁹).

Output

The sum.

Sample 1

Input
10
Output
30

Sample 2

Input
1
Output
0
solution.py
Output appears here
Sum of Even Numbers · Python Arena problem · LearnPy Hub