the history museum is hosting a special exhibition on history of flight. The admission ticket for each adult cost $5 and the admission ticket for each child costs $2. On the opening day of the exhibition, 50 tickets were sold for a total of $240. How many adults visited the special exhibition?