Restaurants in the area serve various food to customers. As long as
customers keep showing up to a restaurant regularly, that restaurant will keep serving the same dish. If no customers visit a restaurant for more than 3 days, then that restaurant will serve a new type of food starting when the next customer visits. Unfortunately, some ingredients were contaminated and caused a few customers to suffer from food poisoning. The restaurants know which food was affected and are now trying to figure out which customers were affected. The restaurants keep their own catalogue of customers, so there is no guarantee that a customer has the same customer ID at each restaurant. All restaurants serve food in the same order. Figure out which customer ate which food.
2,Chicken and Rice
2,2,2020-01-10,Chicken and Rice
3,1,2020-01-11,Chicken and Rice