#include using namespace std; using ll = long long; int main() { int N; cin >> N; int ans = N * (N + 1) / 2; cout << ans << endl; }