Nick's telephone company charges $ 0.03 per minute for weekend calls and $ 0.08 per minute for calls made on week days. This month Nick was billed for 587minutes. The charge for these minutes was $ 23.61. How many minutes did he talk on weekends and how many minutes did he talk on weekdays?