#include using namespace std; int main() { unsigned long long n, ans = 0; cin >> n; ans = (1.0 / 2.0) * n * (n + 1LL); cout << ans << endl; }