The admission tickets to an exhibition at $5 for an adult and $2 for a child. A family of 3 adults and 4 children visited the exhibition. What would be the charge if $50 note was used to buy the tickets?