#include #define rep(i,n) for (int i = 0; i < (n); ++i) using namespace std; int main() { int N,s; cin >> N; s=N*(N+1)/2; cout << s << endl; }