#include using namespace std; using ull = unsigned long long; int main(){ cin.tie(nullptr); ios_base::sync_with_stdio(false); ull N; cin >> N; cout << N*(N+1)/2 << endl; return 0; }