int main(void) { // your code goes here int n, a, b, d, i, j; scanf("%d", &n); for(i=0;i!=n;i++){ scanf("%d %d", &a, &b); if(a==b){ printf("=\n"); continue; } d=a-b; if(d/abs(d)==-1){ printf("%c\n", 60); }else{ printf("%c\n", 62); } } return 0; }