https://www.acmicpc.net/problem/8393
n=int(input()) sum=0 if n%2==1: m=(n+1)//2 sum=(1+n)*(n//2)+m else: sum=(1+n)*((n+1)//2) print(sum)