Your task is to distribute the bins of banknotes into briefcases of the same colors as the bills. Initially, the briefcases do not have colors; they acquire color when a bill flies into it. Your task is not to reach a dead end so that you have the opportunity to fill out cases.