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