Sum of Three-Consecutive Products


Submit solution

Points: 100
Time limit: 2.0s
Memory limit: 256M

Author:
Problem types

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

There are no comments at the moment.