print(n*(n+1)/2)