Problem:
Score : 100 points

Problem Statement

In programming, hexadecimal notation is often used.

In hexadecimal notation, besides the ten digits 0, 1, ..., 9, the six letters A, B, C, D, E and F are used to represent the values 10, 11, 12, 13, 14 and 15, respectively.

In this problem, you are given two letters X and Y. Each X and Y is A, B, C, D, E or F.

When X and Y are seen as hexadecimal numbers, which is larger?

Constraints

Each X and Y is A, B, C, D, E or F.

Input

Input is given from Standard Input in the following format:

X Y

Output

If X is smaller, print <; if Y is smaller, print >; if they are equal, print =.

Sample Input 1

A B

Sample Output 1

<

10 < 11.

Sample Input 2

E C

Sample Output 2

>

14 > 12.

Sample Input 3

F F

Sample Output 3

=

15 = 15.

Solution in C (GCC 5.4.1) (judge verdict: Accepted)


#include <stdio.h>

int main(){
    char X, Y;
    int x, y;

    scanf("%c %c", &X, &Y);

    switch(X){
        case 'A': x = 10; break;
        case 'B': x = 11; break;
        case 'C': x = 12; break;
        case 'D': x = 13; break;
        case 'E': x = 14; break;
        default:x = 15;
    }

    switch(Y){
        case 'A': y = 10; break;
        case 'B': y = 11; break;
        case 'C': y = 12; break;
        case 'D': y = 13; break;
        case 'E': y = 14; break;
        default:y = 15;
    }

    if(x < y)
        printf("<\n");
    else if(x > y)
        printf(">\n");
    else
        printf("=\n");

    return 0;
}