#include using namespace std; #define rep(i,a,b) for(int i=a;i> N; int ans = 0; rep(i, 1, N + 1) ans += i; cout << ans << endl; }