# coding: utf-8 l = int(input()) total = 0 for i in range(l): if l < 1: break else: total = total + l l -= 1 print(total)