The total distance covered from Monday to Wednesday is 12 + 18 + 21 = <<12+18+21=51>>51 miles.
So the average distance traveled per day is 51/3 = <<51/3=17>>17 miles.
#### 17