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