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