1. JAVA, Andreas Kunft


/*

 * ACM Programming Contest

 * Problem:     11172 (Relational Operator)

 * Status:        Accepted

 * Language:    JAVA

 * Runtime:        0.080

 * Date:        2009-03-18 13:19:29

 * Author:        Andreas Kunft

 */



import java.io.BufferedReader;

import java.io.IOException;

import java.io.InputStreamReader;



public class Main {



    public static void main(String... args) throws NumberFormatException, IOException

    {

        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));

        long times = Integer.parseInt(reader.readLine());

        char output;

        for(int i = 0; i < times; i++)

        {

            String[] parts = reader.readLine().split(" ");

            int first = Integer.parseInt(parts[0]);

            int second = Integer.parseInt(parts[1]);

            if (first < second)

            {

                output = '<';

            }

            else if (first > second)

            {

                output = '>';

            }

            else

            {

                output = '=';

            }

            System.out.println(output);

        }

    }

}