number = int(input())
print(int(number * (number + 1) // 2))

ff21b0054f8071e15cb3621d033cb4fa6983ed67
<mask token>

<mask token>
print(int(number * (number + 1) // 2))

number = int(input())
print(int(number * (number + 1) // 2))
