#include <iostream>
#include <stdio.h>
#include <stdlib.h>
int main(){

    int n,a,b;
    scanf("%d",&n);
    while(n--){
        scanf("%d %d",&a,&b);
        if(a<b) printf("<\n");
        else if(a>b) printf(">\n");
        else printf("=\n");
    }

    return 0;
}

results matching ""

    No results matching ""