Easymath
Square and Cube
Time limit 2 s · Memory 64 MBAcceptance: —Solved by: 0
Statement
You are given one integer n. Print two numbers on one line separated by a space: the square and the cube of n.
Examples
Example 1
Input
2
Output
4 8
Example 2
Input
-3
Output
9 -27
Constraints
- -10^6 ≤ n ≤ 10^6