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