You are preparing reusable helpers for a fictional delivery platform. The team already has the language features it needs: defaults, nested functions, comprehensions, generators, and wrappers. Your job is to combine those features without changing their contracts. Some tasks care about order. Others care about independent state or an inclusive boundary. Work through a small example first and compare the result shape with the requested return type. These exercises introduce no new language feature. They use fresh identifiers, values, and schedules so that you need to transfer the reasoning rather than repeat a previous answer. Return the result directly and leave diagnostic printing out of your final function.