Do you remember Alice and Bob? They are fighting for glory in a battle game they’ve just bought. There are soldiers and horses for each player. Alice currently has soldiers and horses, while Bob currently has soldiers and horses. But having a lot of horses doesn’t help much, as one soldier can only ride one horse. Each player will send their soldiers with horses to the ultimate battle. It is not allowed to send a soldier without a horse. The player with more soldiers present at the battleground will win. If the number of soldiers are equal on both sides, it results in a tie.
The first line will contain two integers in this order, the number of soldiers and horses that Alice has.
The second line will contain two integers in this order, the number of soldiers and horses that Bob has.
On a single line, print if Alice will win the battle, print if Bob will win the battle. If it’s a tie, print instead.
10 12 15 9
17 17 23 18
6 9 9 6