e-olymp
Problems

Surface area and volume 2

Surface area and volume 2

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

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"