#include<iostream> using namespace std; int main() { int r; cin>>r; int m=(1+r)*r/2; cout<<m; return 0; }