#include using namespace std; int main() { int n; scanf("%d", &n); char lbig = (char)62, rbig = (char)60; while (n--) { int a, b; scanf("%d %d", &a, &b); if (a == b) printf("=\n"); else if (max(a, b) == b) printf("%c\n", rbig); else printf("%c\n", lbig); } }