An adult ticket to an exhibition costs $5 while a child's ticket costs $2. If the number of children going to the exhibition was 3 more than the number of adults and a total amount of $20 was spent on the tickets. Find the number of adults going to the exhibition.