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