At a firefighters' pancake breakfast, the firefighters served 340 people and raised $1800. If the cost of a, an adult's ticket to the pancake breakfast, was $7 and the cost of c, a child's ticket, was $3, what was the number of adult tickets sold?