#include "bits/stdc++.h" using ll = long long; using ull = unsigned long long; using ld = long double; using namespace std; char lc = 0x003C; char rc = 0x003E; int getint() { string v; cin.getline(v.data(), 8, '\n'); return stoi(v); } int getintspace() { string v; cin.getline(v.data(), 8, ' '); return stoi(v); } int main() { int n = getint(); while (n--) { int a = getintspace(); int b = getint(); if (isgreater(a, b)) { cout.put(rc); cout.put('\n'); } else if (isless(a, b)) { cout.put(lc); cout.put('\n'); } else { cout.put('='); cout.put('\n'); } } cout.flush(); }