using System; using System.Collections.Generic; class No32 { static void Main(string[] args) { int L = int.Parse(Console.ReadLine()); int M = int.Parse(Console.ReadLine()); int N = int.Parse(Console.ReadLine()); M += N / 25; N = N % 25; L += M / 4; M = M % 4; L = L % 10; Console.WriteLine(L + M + N); } }