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