#include <iostream>
using namespace std;
int main()
{
int a;
cin >> a;
int sum = 0;
for (int i = 1; i <= a; i++)
{
sum += i;
}
cout << sum;
return 0;
}
03-20
5673
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
11-09
1万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
02-04
3万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
12-01
177
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
10-15
601
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
11-10
140
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
02-15
1万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
11-30
478
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
01-26
2118
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
03-04
847
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-30
449
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-26
1158
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-25