Perfect intake of matches + random intake in case perfect does not exist