#P1031. Magic cube

Magic cube

Description

Input the edge length of the magic cube, calculate the number of small cubes with exposed surfaces of 1,2and 3 then output them.

Input Format

One interger. Input the edge length of the magic cube.

Output Format

Three intergers. Output the number of small cubes with exposed surfaces of 1,2and 3.

3
6 12 8