#No.480 合計 N = int(input()) x = 0 for n in range (1,N+1): x += n print(x)