Tính tổng 1

View as PDF

Submit solution

Points: 0.10
Time limit: 0.1s
Memory limit: 64M
Input: stdin
Output: stdout

Author:
Problem type

Giới thiệu: Đây là đề Traning Python

Viết chương trình tính ~S~, biết rằng:

~S~ = ~1~ + ~2~ + ~3~ + ... + ~n~

Trong đó, ~n~ là số nguyên dương nhập từ bàn phím.

Input

Số nguyên dương ~n~

Output

Giá trị của ~S~

Examples

Input

3

Output

6

Comments

Please read the guidelines before commenting.


There are no comments at the moment.