Hi!

I read this problem in yesterday and I bothers me that I cant put up an equation on how to solve it.

A bunch of people were going to ride a rollercoaster.

A childrens ticket was $15, and an adult ticket was $22.

Tickets were sold for a total of $349.

How many children and adults were there?