All he has left in his haversack is a few crumbs of zwieback from his last ration. |
I don't think anything can precisely substitute for zwieback, which is a lightly sweetened yeast rusk. |
Explanation: Mouse Stofl suggests to keep 4 pieces of zwieback while leaving the rest for the first mouse. |
The zwieback may be prepared in considerable quantity and kept on hand in readiness for use. |
If the first mouse accepts Stofl's proposal, it will get 6 zwieback pieces. |
The first line of the input contains two integers N and Z, the number of pirate mice and the number of zwieback pieces. |