n = int(input()) x = 0 for i in range(n): x += i+1 print(x)