import java.util.Arrays; import java.util.LinkedList; import java.util.Scanner; public class Main { public static final long MOD = 1000000007; public static void main(String[] args) { Scanner sc = new Scanner(System.in); final int N = sc.nextInt(); while(sc.hasNext()){ final int a = sc.nextInt(); final int b = sc.nextInt(); if(Integer.signum(a - b) == 1){ System.out.println((char)(0x3c)); }else if(Integer.signum(a - b) == 0){ System.out.println((char)(0x3d)); }else{ System.out.println((char)(0x3e)); } } } }