#include<bits/stdc++.h> using namespace std; unsigned qh(short a) { return a+qh(a-1); } int main() { short x; cin>>x; cout<<qh(x); return 0; }