#include int main() { int n; std::cin >> n; std::cout << n * (n + 1) / 2 << std::endl; }