a=0 for i in range(int(input())+1): a+=i print(a)