#include int fun(int n){int s=n;if(n-1) s+=fun(n-1);return s;}void main(){int n;scanf("%d",&n);printf("s=%d",fun(n));}