#include using namespace std; int main() { int n; cin >> n; printf("%d\n", n*(n+1)/2); return 0; }