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