#include int total(int a) { a = a*(a+1)/2; return a; } int main(void){ int n; scanf("%d",&n); printf("%d",total(n)); }