int main() { int N; scanf("%d", &N); while (N--) { int a, b; scanf("%d%d", &a, &b); if (a == b) { puts("="); } else { int diff = a - b; if (diff & 0x80000000) { printf("%c\n", 0x3c); } else { printf("%c\n", 0x3e); } } } return 0; }