sandwich assignment