#include #include #include #include #include #include #include #include #define AS(a) (sizeof(a)/sizeof(a[0])) using namespace std; long long int MOD = 1000000007; long long int INF = 1000000007; int main() { int N; cin >> N; cout << N * (N+1) / 2 << endl; }