using System; using System.Collections.Generic; using System.Linq; using static System.Console; class Program { static void Main() { var N =int.Parse(ReadLine()); for (int i = 0; i < N; i++) { var a = ReadLine().Split().Select(int.Parse).ToArray(); if(a[0]==a[1])WriteLine("="); else if(a[0].CompareTo(a[1])>0)WriteLine((char)0x3E); else WriteLine((char)0x3C); } } }