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