Steve, Mark and Ryan took their father out for a meal. Steve had ＄$$40$$ more than Mark. If Steve paid for the meal, the amount of money that Steve, Mark and Ryan left will be in the ratio $$3:8:9$$ respectively. If Ryan paid for the meal, the amount of money Steve, Mark and Ryan left would be in the ratio $$5:4:1$$ respectively. If Mark paid for the meal, the amount of money Steve, Mark and Ryan left would be in the ratio $$10:1:9$$ respectively. How much did the meal cost? 
Overseas Competition->Knowledge Point->Word Problem Modules->Solving Problems Involving Proportions->Dividing Quantities Based on Ratio