C. Power Comparison
time limit per test
1 second
memory limit per test
256 megabytes
input
standard input
output
standard output

You are given two integers $$$a$$$ and $$$b$$$.

Your task is to compare the values of $$$a^b$$$ and $$$b^a$$$.

Here, $$$x^y$$$ means $$$x$$$ raised to the power of $$$y$$$.

For each test case, determine whether $$$a^b$$$ is greater than, equal to, or less than $$$b^a$$$.

Input

The first line contains a single integer $$$t$$$ ($$$1 \le t \le 10^4$$$) — the number of test cases.

The first and only line of each test case contains two integers $$$a$$$ and $$$b$$$ ($$$1 \le a, b \le 10^9$$$).

Output

For each test case, print a single character:

  • print > if $$$a^b \gt b^a$$$;
  • print = if $$$a^b = b^a$$$;
  • print < if $$$a^b \lt b^a$$$.
Example
Input
5
3 5
4 3
10 10
1 999
999 1
Output
>
<
=
<
>