While doing some coding exercise, I came across this problem:
"Write a function that takes in a list of dictionaries with a key and list of integers and returns