#include using namespace std; int main() { int n; cin >> n; int ans = n * (n + 1) / 2; cout << ans << endl; }