N = int(input()) i = 1 total = 0 while i <= N: total = total + i i = i + 1 print(total)