java版
import java.util.Scanner;
class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String a = sc.nextLine();
String b = sc.nextLine();
int result = a.compareToIgnoreCase(b);
//compareTo()是比较字符串大小
//compareToIgnoreCase同理,但是可以忽略大小写
if (result < 0) {
System.out.println("<");
}
else if (result > 0) {
System.out.println(">");
}
else {
System.out.println("=");
}
}
}