A city vehicle used 18 gallons of fuel to travel 414 miles.What was the vehicle's fuel efficiency in miles per gallon?