#include<stdio.h>
int toint(char c)
{
    switch(c)
    {
        case 'A':return 10;
        case 'B':return 11;
        case 'C':return 12;
        case 'D':return 13;
        case 'E':return 14;
        case 'F':return 15;
    }
}
int main()
{
    char  x,y;
    scanf("%c %c",&x,&y);

    int a,b;
    a=toint(x);
    b=toint(y);
    if(a>b)
    {
        printf(">\n%d>%d",a,b);
    }
    else if(a<b)
        printf("<\n%d<%d",a,b);
    else
        printf("=\n%d=%d",a,b);
}
