Q2: Count mismatches of lunchboxes and students. Intuition: the queue can be cycled until front of queue matches top of stack; even if we get rid of one lunchbox at a time, the queue will eventually deplete until the remaining lunchboxes in stack don't match any student's preference.