ipt=input() result=0 for i in range (ipt+1): result+=i print(result)