int main()

{

// your code goes here

int t, a, b;

// a & b are limits of limik and bob.

//

cin >> t;

while (t–)

{

cin >> a >> b;

int bob = 2, limak = 1, count1 = 0, count2 = 0;

if (a == 1 && b == 1)

{

cout << “Limak” << endl;

}

else

{

```
for (int i = 3; i <= a; i = i + 2)
{
limak += i;
//limik is a variable to show the no of candies eaten by limik. as well as bob variable is used for bob.
if (limak > a)
{
break;
}
else
count1++;
//count1 and count2 are variables to count the chance of eating means how many times they have eaten candies .
}
for (int j = 4; j <= b; j = j + 2)
{
bob += j;
if (bob > b)
{
break;
}
else
count2++;
}
if (count2 >= count1)
cout << "Bob" << endl;
else if (count2 < count1)
cout << "Limak" << endl;
}
}
return 0;
```

}