A hat containing 10 slips of paper has the following numbers: 4,8,12,16,20,24,28,32,36,40. Joe selects one slip of paper at random, does not replace it, and then selects another slip of paper. If both slips of paper have a number less than 20 he wins $500. If not then he loses $400. What is the mathematical expectation of the game?