Part 2 of the problem was another refactor: add up the top 3 amounts, not just the top 1. ChatGPT handled like a champ and imported a new library and modified the function to return the top 3 instead of top 1: