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