package yukicorder; import java.util.Scanner; public class QNo32 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); short l = sc.nextShort(); short m = sc.nextShort(); short n = sc.nextShort(); int total = 100*l+25*m+n; int releive = total%1000; short num = 0; num += releive/100; releive %= 100; num += releive/25; releive %= 25; num += releive/1; System.out.println(num); } }