#include using namespace std; int main(){ int input_number,output_number=0,i; cin >> input_number; for(i=1;i<=input_number;i++){ output_number += i; } cout << output_number << endl; return 0; }