On a certain hot summer's day, 559 people used the public swimming pool. The daily prices are $1.25 for children and $2.50 for adults. The receipts for admission totaled $1001.25. How many children and how many adults swam at the public pool that day?