N = int(input()) x = 0 for n in range(1,N+1): x = x + n x