#include using namespace std; int main() { long long int n, S; cin >> n; S = n * (n + 1) / 2; cout << S; return 0; }