#include using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define Int long long int main() { int N; cin >> N; cout << N * (N+1) / 2 << endl; }