#include"cstring" #include"string" #include"vector" #include"iostream" #include"cstdio" #include"cstdlib" #include"stack" #include"queue" #include"cmath" #include"algorithm" #include"list" #include"set" #include"map" #include"complex" #include"sstream" #include"climits" #define pb push_back #define mp make_pair #define fi first #define sc second using namespace std; typedef long long ll; typedef unsigned long long ull; const int dx[4] = {1, 0, -1, 0}, dy[4] = {0, 1, 0, -1}; const int MAX_N = 100; int n; int main() { scanf("%d", &n); while (n--) { int a, b; scanf("%d%d", &a, &b); if (a == b) printf("%c\n", '='); else if (min(a,b) == a) printf("%c\n", '<'); else if (min(a,b) == b) printf("%c\n", '>'); } return 0; }