#29749: Python 一行解


Donye (冬夜)


print((lambda n : (n+n**2)//2)(int(input())))