I have a list of products with start and end dates, and I have to create a set of rules where I need to work on products one by one to find out their maximum date. For example,<