s = 0 N = input() for i in range(1, int(N) + 1): s += i print(s)