1. Problem 문제 확인하기 2. Solution N = int(input()) ans = 1 * (N + 2) for i in range(2, N+1): ans += i * (N + 2) print(ans)