#include int main() { int n; int answer; std::cin >> n; for(int line = 1;line < n+1;line++) { answer += line; } std::cout << answer << std::endl; }