A theater sold adult tickets and child tickets for a play. Each adult ticket cost $12, and each child ticket cost $18. The total revenue from ticket sales was $300. The equation represents this situation. What is the maximum number of adult tickets that could have been sold?