n = input() total = 0 while n > 0: total += n n -= 1 print(total)