题面Write a program to input an integer n, and to output sum of 1,2,…,n.输入格式input an integer n.输出格式output sum of 1,2,…,n.样例输入10 输出55 输入1 输出1 输入1000 输出500500