a^b^c
Easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Find the value of
Input
The first line contains the number of test cases . Each of the next lines contains three numbers .
Output
For each test case print in a separate line the value of .
Examples
Input #1
Answer #1
Submissions 2K
Acceptance rate 28%