# number = int(input())
# for i in range(1,number+1):
#     print(i)

# for i in range(number,-1,-1):
#     print(i)

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

print(total)
