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