#include int main(){ int n, tmp; tmp = 0; std::cin >> n; for(int i = 1; i <= n; i++){ tmp+=i; } std::cout << tmp << std::endl; }