#include int main(int argc, char *argv[]) { int n; scanf("%d\n", &n); printf("%d\n", (n+1)*(n+2)/2); return 0; }