import java.util.Scanner; class Main{ public static void main(String[]$){ Scanner s=new Scanner(System.in); for(int i=s.nextInt();i!=0;--i) { char v=0; switch(Integer.compare(s.nextInt(),s.nextInt())){ case 0: v=61; break; case 1: v=60; break; case -1: v=62; break; } System.out.println(v); } } }