SCUSA Region ACM Balloon Logo ICPC Masthead
2008 South Central USA Regional Programming Contest

The Weakerthans


Some things are weaker than others. You will express this knowledge.


Input to this problem will begin with a line containing a single integer n indicating the number of comparisons. The next n lines each contain two space-separated words (consisting solely of lowercase characters, each word less than ten characters long).


For each comparison, print "x IS WEAKER THAN y", where x is the first word in the comparison, and y is the second word in the comparison.

Sample Input:

tea coffee
tadpole gorilla

Sample Output:

tea IS WEAKER THAN coffee
tadpole IS WEAKER THAN gorilla