#include using namespace std; int main() { int n; // cout << "input number n (1 to 100)" << endl; cin >> n; cout << n*(n+1)*0.5 << endl; }