#include <iostream>

using namespace std;

int int_Tran(char t){
	return (t-'A')+10;
}

int main(){
	
	char X,Y;
	cin>>X>>Y;
	
	int x = int_Tran(X);
	int y = int_Tran(Y);
	if(x>y){
		cout<<'>'<<endl;
		cout<<x<<'>'<<y<<'.';
	}
	else if(x<y){
		cout<<'<'<<endl;
		cout<<x<<'<'<<y<<'.';
	}
	else{
		cout<<'='<<endl;
		cout<<x<<'='<<y<<'.';
	}
	
	return 0;
} 