total = 0 end = int(input()) for i in range(1, end + 1): total += i print(total)