#P1016. 基础数学题目2

基础数学题目2

Description

Please enter nn, calculate the sum of natural numbers from 11 to nn then output it.

Input Format

The line of input contains one integer,which is the number nn.

Output Format

one integer,which is the sum of 1+2+3++n1+n1 + 2 + 3 + …… + n-1 + n.

10
55
100
5050

Limit and hint

For 100%100\% testcases, n105 n\leq10^5.