N= int(input()) ans= 0 count= 0 for i in range(N+1): ans += count count += 1 print(ans)