Sum of Three-Consecutive Products
Given \(n\), compute \(A=\sum_{i=1}^{n-1} i(i+1)(i+2)\).
Input
One positive integer \(n\).
The input satisfies:
- \(n >= 1\)
Output
Print the legacy labels followed by \(A\), exactly as shown in the example.
Example
Input
1
Output
N = A = 0
Comments