Can't find any ideas online yet about this PHP problem.
An emergency room physician was on duty for 36 hours. During this period there was at least one emergency case each hour, but no more than 50 emergencies total. Show that there was some period of consecutive hours during which there were exactly 21 emergency cases.
I tried making 36 boxes, and having at least 1 emergency in each box, so there's 14 leftover cases (objects) for each box. I'm not sure how to put these objects in the boxes to show that there was some period of consecutive hours with 21 emergency cases.