Two machines, A and B are used to process certain items