#include<stdio.h>
int main()
{ char a[3],A=10,B=11,C=12,D=13,E=14,F=15; 
  int i; 
 
       gets(a);
         for(i=0;i<3;i++) 
          {if(a[i]=='A')
	        a[i]=10;
	         if(a[i]=='B')
	        a[i]=11;
	         if(a[i]=='C')
	        a[i]=12;
	         if(a[i]=='E')
	        a[i]=14;
	         if(a[i]=='F')
	        a[i]=15;
	         if(a[i]=='D')
	        a[i]=13;}
	     if(a[0]>a[2])
       {printf(">\n");
        printf("%d>%d\n",a[0],a[2]);}
        else if(a[0]==a[2])
       {printf("=\n");
        printf("%d=%d",a[0],a[2]);}
    	 else if(a[0]<a[2])
       {printf("<\n");
        printf("%d<%d",a[0],a[2]);}  	
    
} 