LearnPy Hub
← Variables problems
Easy

Square and Cube

Read an integer n. Print n squared on the first line and n cubed on the second.

Input

One integer n.

Output

Two lines.

Sample 1

Input
3
Output
9
27

Sample 2

Input
0
Output
0
0
solution.py
Output appears here
Square and Cube · Python practice problem · LearnPy Hub