#include using namespace std; int main() { int N,i,sum; sum = 0; cin >> N; for (i = 1; i <= N; i++) { sum += i; } cout << sum; return 0; }