Monte recorded the gas mileage, in miles per hour, of ten different cars he is considering buying: 34, 27, 30, 24, 28, 31, 42, 30, 29, and 19.

What is the median?