##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
Hannah has ice creams. The -th ice cream has initial volume .
Each second, the following steps happen in order:
Determine whether Hannah can finish all the ice creams without losing.
After the first melting step, the volumes become and . Hannah licks the first ice cream, so the volumes become and .
After the second melting step, the volumes become and . Hannah licks the second ice cream, so both volumes become .
At the start of the next second, all ice creams have volume , so Hannah wins.
After the first melting step, the only ice cream has volume .
Now every ice cream has volume strictly less than , so Hannah loses before she can win.
After the first melting step, the volumes become , , and . Hannah licks one of the ice creams with volume .
After the second melting step, the volumes can become , , and . Hannah licks the last ice cream with volume , so all volumes become .
At the start of the next second, Hannah wins.