A raffle ticket costs $5. First prize is $10,000, 2nd prize is $5,000, and there are 10 3rd prizes of $500. 5000 tickets are sold. Find the expected value E(x) for one play of the game.