The Honda Civic Hybrid vehicle, powered by gasoline-electric technology, gets 49 miles per gallon (mpg) in city driving and 51 mpg in highway driving (Source: Honda.com). The car is driven $447 \mathrm{mi}$ on 9 gal of gasoline. How many miles were driven in the city and how many were driven on the highway?