There are N children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give 1 candy to the first child in the line, 2 candies to the second child, ..., N candies to the N-th child. How many candies will be necessary in total?
x = int(input("子供の数を入力してね:"))

n = 0

for i in range(1,x+1):
    n += i

print(n)

x = int(input())

n = 0

for i in range(1,x+1):
    n += i

print(n)
