Problems
556 - Bigger or Equal
SUBMIT PROBLEM

Bigger or Equal

Time Limit: 0.5 sec

 

The Problem

You are given two integers. You have to tell which one is Bigger or they are equal.

 

The Input

Input starts with an integer T (1 ≤ T ≤ 20), denoting the number of test cases.

Each case contains two space separated integers a and b (0 ≤ a, b ≤ 10100).

 

The Output

If a is bigger, print "a is bigger than b" [without quote].

If b is bigger, print "b is bigger than a" [without quote].

Else, print "They are equal" [without quote].

 

Sample Input

3

12 5

45 99

5 5

 

Sample Output

a is bigger than b

b is bigger than a

They are equal

 

 

 

 

Problem Setter: Sheikh Monir [Bangabandhu Sheikh Mujibur Rahman Science and Technology University]