#include #include using namespace std; //namaega184 int main(){ int n;scanf("%d",&n); long long ans=(long long)n*(n+1)/2; printf("%lld\n",ans); return 0; }