#include<bits/stdc++.h> using namespace std; int n; int main() { while (scanf("%d", &n)!=EOF) { printf("%d\n",n*(n+1)/2); } return 0; }