n = int(input()) x = 0 while n: x += n n -= 1 print(x)