d=(b=eval('%d*100+25*%d+%d'%$<.read.split)%1000)%100;p b/100+d/25+d%25