tickets for a high school dance cost $4.00 each if purchased in advance, but $5.00 at the door. If 225 tickets were sold and $950 was collected, how many tickets were sold in advance and how many were sold at the door?