#include using namespace std; typedef long long ll; int main() { cin.tie(0); ios::sync_with_stdio(false); int N; cin >> N; cout << N * (N + 1) / 2 << endl; }