#include //変数デバッグ #define IDEB(variable) printf("%s = %d\n",(#variable),(variable)) //intデバッグ用 #define FDEB(variable) printf("%s = %f\n",(#variable),(variable)) //floatデバッグ用 #define DDEB(variable) printf("%s = %lf\n",(#variable),(variable)) //doublrデバッグ用 int main(){ int n; scanf("%d", &n); int i=0,j=0,a,b; while(i!=n){ scanf("%d %d", &a, &b); while(j!=a&&j!=b){ j++; } if(a==b){ printf("%c\n", 61); }else if(a==j){ printf("%c\n", 60); }else{ printf("%c\n", 62); } j = 0; i++; } return 0; }