Nathan buys coffee and hot chocolate for his co-workers. Each cup of coffee costs $1.75 and each cup of hot chocolate costs $1.00. If he pays a total of $14.50 for 10 cups, how many of each does he buy?