big coins worth 75 and small coins worth 10 on the table. Alice and Bob take turns, Alice first. On each turn a player must take coins worth exactly 115 in total. A player who cannot do so loses.
Return the winner's name: "Alice" or "Bob" (both play optimally).big=3, small=9 → 'Bob'
Every turn takes one 75 coin and four 10 coins. Alice pays, Bob pays, and then only one 75 and one 10 are left: Alice cannot pay, so Bob wins.
big=5, small=4 → 'Alice'
The 10 coins are enough for exactly one payment; Alice makes it and Bob loses.
big=1, small=3 → 'Bob'
big=3, small=9
'Bob'
Run checks the first 3 tests in your browser. Submit checks all 107 tests on the server, hidden ones included.