equations

a person in the audience tells the performing mind reader that he has 18 coins worth $3.60 in his pockets, made up of 5cents and 10cents. Within seconds, the mind reader tells him how many of each coin he has. Can you?