favorite We need a little bit of your help to keep things running, click on this banner to learn more
Competitions

Surface area and volume 2

Find the surface area and volume of the cube by the length of its edge.

Input

The length of cube's edge a (a106).

Output

Print the surface area and volume of the cube .

Time limit 1 second
Memory limit 128 MiB
Input example #1
3

Output example #1
54 27

Author Matviychuk Sergiy Volodymyrovych
Source "ABC programming"