N games and M judges. Judge j votes for the most interesting affordable game. Print the winner.
N, M, costs, budgets.
Winning game number.