Dheo paid his grocery bill of 285 pesos with 20-peso bills and 5-peso coins . If he paid 24 bills and coins all in all , how many had he of each kind?