Match the winners

We have been given an array of winners. Our aim is to loop this array and for each of the codes we have been given, search for the player information in the $players.