#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 main() { int n; scanf("%d", &n); while (n--) { int a, b; scanf("%d %d", &a, &b); 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(); }