x = 0 a = int(input()) for i in range(a+1): x += i print(x)