using System; public class Hello { public static void Main() { var a = int.Parse(Console.ReadLine().Trim()); var b = int.Parse(Console.ReadLine().Trim()); var c = int.Parse(Console.ReadLine().Trim()); var ans = 0; ans += c % 25; b += c / 25; ans += b % 4; a += b / 4; ans += a % 10; Console.WriteLine(ans); } }