#coding:utf-8 get = input() get = int(get) lot = 0 for x in range(0,get): lot += get get -= 1 print(lot)