CodeLab Academy 📞 9936 6696
← List Python · Level 4: For loops Code · 40 points ← #330 #332 →

#331. i and i to the power 3

You get n. For each i from 1 to n, print `i` and `i**3` separated by a space, one pair on each line. ### Input One integer n (1 ≤ n ≤ 20). ### Output n lines.

Examples

Input
14
Output
1 1
2 8
3 27
4 64
5 125
6 216
7 343
8 512
9 729
10 1000
11 1331
12 1728
13 2197
14 2744
Input
3
Output
1 1
2 8
3 27

💡 You can solve it with Python, JavaScript or blocks. Read the input line by line with input(). Don't print a question (like input("Number: ")). Print exactly what the output asks for, nothing more.

🔒 You can solve the first 3 problems without an account. Sign up for free to solve this one!