using System; using System.Linq; namespace ConsoleApp1 { class Program { static void Main(string[] args) { var l = int.Parse(Console.ReadLine()); var m = int.Parse(Console.ReadLine()); var n = int.Parse(Console.ReadLine()); int sum = l * 100 + m * 25 + n; var kouka1 = sum % 25; var kouka25 = sum / 25; var kouka100 = kouka25 / 4; var kouka1000 = kouka100 / 10; int result = kouka100 % 10 + kouka25 % 4 + kouka1; Console.WriteLine($"{result}"); } } }