#include #include int main() { int a, N; std::cin >> N; a = N * (N + 1) / 2; std::cout << a; return 8; }