Summation


Submit solution

Points: 1
Time limit: 2.0s
Memory limit: 256M

Problem types
Allowed languages
Python

Write a program that reads one positive integer, n.

Print the sum of all integers from 1 to n.

Input

The input contains one positive integer, n.

Output

Output the sum of all integers from 1 to n.

Sample Input

8

Sample Output

36

Comments

There are no comments at the moment.