#include using namespace std; int main() { int n; int sum; cin >> n; for(int i = 1; i<=n; ++i ) { sum=i+sum; } cout<< sum<