#include <stdio.h> int main() { int a; int s=0; scanf("%d",&a); for(int i=1;i<=a;i++) { s+=i; } printf("%d",s); return 0; }