Many Prizes solutions

Many Prizes was solved using JavaScript by 2 contestants. Solution sizes: average 602 bytes (shortest: 507; longest: 698).