using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace YukiCoder { class Program { static void Main(string[] args) { int ia = int.Parse(Console.ReadLine()); int ib = int.Parse(Console.ReadLine()); int ic = int.Parse(Console.ReadLine()); int y = ia * 100 + ib * 25 + ic * 1; int n = y % 1000 / 100 + y % 100 / 25 + y % 25; Console.WriteLine(n); //Console.ReadLine(); } } }