using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; namespace yukicore { internal class Program { private static void Main(string[] args) { int nums0 = int.Parse(Console.ReadLine()); //100 int nums1 = int.Parse(Console.ReadLine()); //25 int nums2 = int.Parse(Console.ReadLine()); //1 var num = (nums0 * 100 + nums1 * 25 + nums2)%1000; int count = 0; count += num / 100; num = num % 100; count += num / 25; num = num % 25; count += num; Console.WriteLine(count); } } }