polycarp cat cat real gourmet Dependent day week eat certain type food Mondays Thursdays Sundays eat fish food Tuesdays Saturdays eat rabbit stew day week eat chicken stake Polycarp plan trip pack backpack his backpack contain daily ration fish food b daily ration rabbit stew c daily ration chicken stake Polycarp choose day week start trip cat eat additional food purchase long possible print maximum number day cat eat trip additional food purchase Polycarp choose day week start trip optimally