def a(x): return x*(x+1)/2 result = a(N) print(result)