#include<iostream>
using namespace std;
int main()
{
int n;
int i = 1;
int j = 0;
cin >> n;
while (i<= n)
{
j += i;
i++;
}
cout<<j;
return 0;
}
#include<iostream>
using namespace std;
int main()
{
int n;
int i = 1;
int j = 0;
cin >> n;
while (i<= n)
{
j += i;
i++;
}
cout<<j;
return 0;
}