Math problem : CC.18 Management of the party

I became a manager of the party.
I can buy 90 juice exactly with the amount of the budget.
If it is sandwiches, I can buy 36 pieces exactly and if it is cakes, I can buy 40 pieces exactly.
When one juice, one sandwiches, and one cake are made into 1 set for one person, I can buy them for all the members within the budget and 360 yen will remain.
The budget is insufficient if there are more members.

(1) Find the number of participants of the party.

(2) Find the budget.


Answer
(1) 15 persons
(2) 8640 yen