Java 代码
import java.util.Scanner;
public class Main
{
public static void main(String[] args)
{
Scanner cin = new Scanner(System.in);
String s1 = cin.nextLine();
String s2 = cin.nextLine();
int r = s1.compareToIgnoreCase(s2);
if (r == 0)
System.out.println("=");
else if (r < 0)
System.out.println("<");
else if (r > 0)
System.out.println(">");
}
}