A bank teller received a deposit in $5 and $10 bills . Altogether there were 25 bills worth a total of $165 how many bills of each denomination were deposited?