题号:NC232147
时间限制:C/C++/Rust/Pascal 1秒,其他语言2秒
空间限制:C/C++/Rust/Pascal 256 M,其他语言512 M
64bit IO Format: %lld
题目描述
This is a simple question.
Given you two hexadecimal digits x and y, you should determine whether

is greater than

.
输入描述:
Each test contain multiple test cases. The first line contains the number of test cases
. Description of the test cases follow.
The description of each test case consists of two hexadecimal digits x, y separated by spaces.
It's guarantee that x ,y only consists of number '0'-'9' and capital letters 'A'-'F' and there are no leading zeros.

输出描述:
For each test case, if
, print "Yes", Otherwise print "No".
示例1
输入
复制
3
A B
F0 E11
FF0123FFFFFFFFFF 01FEA23FFF