sum = 0 for i in range(int(input("")) + 1): sum += N print(sum)