Fixed questions 9 and 10 to add all quantities from each given city together