#include using namespace std; using ull = unsigned long long; int main(){ ull N; cin >> N; if (N % 2) cout << -~N / 2 * N << endl; else cout << N / 2 * -~N << endl; }