Description: Huawei Cup fourth qualifying Programming Contest A title. Problem input
Inputs include multiple test cases, test cases given first number N, then given N test cases.
Including a line for each test case, given the judges turn to vote, there is no space between the figures represent 1 or 2 votes.
N is a positive integer, N ≤ 1000.
Problem Output
The output includes multiple lines, one line of output for each test case, given the outcome of the relationship between two participating groups between 1 and participating groups, the specific output 1> 2, or 1 <2, or 1 = 2, and its meaning is as follows:
● 1> 2 represents a victory of participating organizations
● 1 <2 2 victory, said participating groups
● 1 = 2 means that participating organizations participating groups 1 and 2 tie
Sample Input
3
12
112
122
Sample Output
A = 2
1> 2
1 <2
To Search:
File list (Check if you may need any files):
A_xuanba.doc