The grand prize for a raffle at a town carnival was 40 free gallons of gasoline per month for the next year. If the winner's car averages 24 miles per gallon, how many miles of "free" driving did he win?