Submit solution

Points: 10 (partial)
Time limit: 1.0s
Memory limit: 256M
Input: stdin
Output: stdout

Author:
Problem type
Allowed languages
C++, Pascal, Python

Statement

Mã đề: Tin8_06.
Cho số nguyên dương n (n \leq 10^6).
Tính tổng: 2 + 4 + 6 + \ldots + n (tổng các số chẵn).

Ví dụ

Input

6

Output

12

Comments

There are no comments at the moment.