n = int(input()) print(sum([i for i in range(n + 1)]))