N = int(input()) a = 0 for sum in range (1,N+1): a += sum print (a)