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