#SCCCIE000028. So sánh chữ số hệ 16 (HEX)
So sánh chữ số hệ 16 (HEX)
HEX
Source: AtCoder
Problem Statement
Characters and are each one of A through F, representing hexadecimal values through . Compare them.
Input
One line contains characters and .
Output
Print < if , > if , and = if they are equal.
Subtasks
- Subtask 1 (100%): .
Examples
Example 1
Input
A B
Output
<
Explanation
For the sample values A, B, evaluating the conditions in the statement gives <. Therefore the program prints the shown output.
Example 2
Input
E C
Output
>
Explanation
For the sample values E, C, evaluating the conditions in the statement gives >. Therefore the program prints the shown output.
Example 3
Input
F F
Output
=
Explanation
For the sample values F, F, evaluating the conditions in the statement gives =. Therefore the program prints the shown output.