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