Problem1698--计算n个数之和

1698: 计算n个数之和

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MiB

Description

输入一个数n,计算1+2+3......+n-1+n,并输出

Input

要计算的数据n

Output

1+2+......+n-1+n之和

Sample Input Copy

100

Sample Output Copy

5050

HINT

注意循环边界

Source/Category