~/algor $ cat problems/kub
Cube
Easy
1000 ms
64 MB
8%
The edge of a cube $a$ is given. Find its volume $V$ and total surface area $S$:
$$V = a^{3}, \qquad S = 6 * a^{2}$$
Input
One positive integer $a$.
Output
One line with two integers: $V$ and $S$.
Note
$1 \le a \le 10^{5}$
Examples
Input #1
2
Output #1
8 24
Input #2
1
Output #2
1 6