answer = N * (N + 1) / 2 print(answer)