FUCT_FOR_EXPONEN - Exponentiation

Enter the base x and the exponent n. Calculate and print out xn.

Input

The first line of the input consist of a single integer number t which determines the number of tests.

In each of next t lines will contain x and n separated by a space.

Constraints

  • 0 < t ≤ 1 000

Output

For each test case print out xn. Separate your answers with a new line character.

Example

Input:
5
1 7
2 4
0 9
-3 3
5 -2

Output:
1
16
0
-27
0.040000

Added by:khanhvh
Date:2018-07-10
Time limit:1s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:C NCSHARP C++ 4.3.2 CPP CPP14 CPP14-CLANG JULIA PYTHON PYPY3
Resource:FPTU Can Tho

© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.