I have a problem with identification of the final reduced price. I have years and discounts per year. So, I need to find out what is going to be the final price in the last