#include #include using namespace std; using ll = long long; using ull = unsigned long long; using mint = atcoder::modint998244353; using maxt = atcoder::modint1000000007; int main() { ull N; cin >> N; cout << N * (N + 1) / (ull)2 << endl; }