#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); ll least = 1; int i = 31; while (i--) { least *= 2; } while (n--) { int a, b; scanf("%d %d", &a, &b); int c = a - b; if (c == 0) { cout.put('='); cout.put('\n'); } else if (c & least) { cout.put(lc); cout.put('\n'); } else { cout.put(rc); cout.put('\n'); } } cout.flush(); }