#include using namespace std; int main( void ){ int a; int b = 0; cin >> a; for( int i = 1; i <= a; i++ ){ b += i; } cout << b; return 0; }