BETA
This is a school problem. Successful submissions of this are not counted in user ratings.

Submissions : 2121 Accuracy :

33.19

a^b (Set 1)
     

For two given positive numbers a and b. Find a^b.

Input:
The first line contains an integer 'T' denoting the total number of test cases. In each test cases, there are two numbers a and b.


Output:
Find a^b.


Constraints:
1 <= T <= 30
1 <= a <= 10
1 <= b <= 10


Example:
Input:
2
1 1
5 2

Output:
1

25

**For More Examples Use Expected Output**


Set Default Code

					   
Result:
It is recommended to test your code before clicking 'Submit' button!



                   



Need help with your code? Please use ide.geeksforgeeks.org, generate link and share the link here.