# -*- coding: utf-8 -*- N = int(input()) i = 1 sumnum = 0 while i <= N: sumnum += i i +=1 else: print(sumnum)