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