A hotel wants to increase its number of customers by advertising in several cities.
For each city, you are given the cost of one advertising campaign there and the number of new customers gained from one such campaign. A city campaign may be purchased any nonnegative integer number of times. Partial purchases are not allowed, and every city has an unlimited number of potential customers.
Find the minimum amount of money that must be spent to increase the hotel's customers by at least C.