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

#306. Power with a loop

You get a and n. Find aⁿ with a loop, without using `**`. ### Input a and n, each on its own line (1 ≤ a ≤ 10, 0 ≤ n ≤ 10). ### Output One integer.

Examples

Input
7
1
Output
7
Input
1
9
Output
1

💡 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!