#include<iostream>
using namespace std;
int n, S;
int main() {
cin >> n;
S = 0;
for(int i = 1; i <= n; i++){
S = S + i;}
cout << S;
return 0; }
I2luY2x1ZGU8aW9zdHJlYW0+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CmludCBuLCBTOwppbnQgbWFpbigpIHsKY2luID4+IG47ClMgPSAwOwpmb3IoaW50IGkgPSAxOyBpIDw9IG47IGkrKyl7ClMgPSBTICsgaTt9CmNvdXQgPDwgUzsKcmV0dXJuIDA7IH0K