문제
There are three mobile operators in Iran. Each operator has different prices for call and data usage, given in the table below. All prices are in Rials:
| # | Name | Call (per minute) | Data (per megabyte) |
|---|---|---|---|
| 1 | ParsTel | 30 | 40 |
| 2 | ParsCell | 35 | 30 |
| 3 | ParsPhone | 40 | 20 |
Some foreign students have arrived Iran to participate in the ACM-ICPC, Tehran Site. They already know how many minutes they will call, and how much Internet they will use. For each student, you want to recommend an operator to minimize the total cost of call usage and data usage for that student.