using System; using System.Linq; using System.Collections.Generic; namespace test20190423 { class Program { static void Main(string[] args) { Func read = () => int.Parse(Console.ReadLine()); var x100 = read(); var x25 = read(); var x1 = read(); x25 += x1 / 25; x1 = x1 % 25; x100 += x25 / 4; x25 = x25 % 4; var x1000 = x100 / 10; x100 = x100 % 10; Console.WriteLine(x100 + x25 + x1); Console.ReadLine(); } } }