The admission for the train is $7 for adults and $4 for children. There are 4 children in Jan's family who are 2, 3, 7, and 9, and 3 adults. How much will it cost to ride the train?