#include <stdio.h>
int main(void)
{
	char x,y;
	int X,Y;
	int a=10,b=11,c=12,d=13,e=14,f=15;
	while(scanf("%c %c",&x,&y)!=EOF)
	{
		if(x=='A')
			X=a;
		if(x=='B')
			X=b;
		if(x=='C')
			X=c;
		if(x=='D')
			X=d;
		if(x=='E')
			X=e;
		if(y=='A')
			Y=a;
		if(y=='B')
			Y=b;
		if(y=='C')
			Y=c;
		if(y=='D')
			Y=d;
		if(y=='E')
			Y=e;
		if(X<Y)
			printf("<\n%d<%d\n",X,Y);
		if(X>Y)
			printf(">\n%d>%d\n",X,Y);
		if(X==Y)
			printf("=\n%d=%d\n",X,Y);				
	}
	return 0;
 } 