print(sum(i for i in range(int(input()) + 1)))