Recently, Alice and Bob are fascinated with a game -- Super Auto Pets. Each person has five pets, and each pet has its own damage $A$ and HP(health point) $B$. Alice and Bob will line up their pets. Every second, the pet in front of the team of Alice and Bob will attack each other at the same time. So who will win the game.
Each pet can carry a item with different functions:
-
none -- Don't carry item
-
honey -- When the pet dies, it can summon a bee with $1$ attack and $1$ health. The bee does not carry items
-
garlic --each time received damage $-2$, but damage is at least $1$ point, the long-term effect
-
chili -- While striking, chili does $5$ damage to the second pet in the team.
-
melon -- Reduces damage by $20$, but can only block one attack. When damage is less than or equal to $20$, the pet is not hurt but the melon is gone. When damage is greater than $20$, the damage for pet reduces $20$ and the melon is gone.
-
steak -- the pet's damage is increased by $20$