339 - Cube
Cube
Time Limit: 1 sec
The Problem
A Cube is a combination of 6 Squares of same length means it is a 6-sided figure of a Square.
If Area of a Square is s2 then what will be the Area of a Cube?
The Input
The input contains a series of lines. Each line contains a single integer number, the length of one side of a Square, L (L <= 1000).
The Output
For each line of input the output will show the Surface Area of a Cube in a separate line.
Sample Input
2
3
Sample Output
24
54
Problem Setter: Samia Safa Ahmed