#include using namespace std; int main() { long long n,ans = 0; ans = n * (n + 1LL) / 2LL; cout << ans << endl; }