import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int n = in.nextInt(); for(int i = 0; i < n; i++){ int a = in.nextInt(); int b = in.nextInt(); String s = String.valueOf(a-b); if(s.charAt(0)=='-'){ System.out.println((char)(60)); } else if(s.charAt(0)=='0'){ System.out.println((char)(61)); } else System.out.println((char)(62)); } } }