N = int(input()) #N = 3 i = 1 sum = 0 while i <= N : sum = sum + i i = i + 1 print(sum)