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