If I have a dictionary and a list that looks like
dict = {\'10\': 5, \'25\': 12, \'40\': 6, \'55\': 18} times = [3, 8, 27]
and I want to create