class Program { static void Main(string[] args) { string inputHundred = Console.ReadLine()!; string inputTwofive = Console.ReadLine()!; string inputOne = Console.ReadLine()!; int hundred = int.Parse(inputHundred); int twofive = int.Parse(inputTwofive); int one = int.Parse(inputOne); hundred = hundred % 10; if (twofive / 4 != 0) { twofive = twofive / 4; } if (one / 25 != 0) { one = one / 25; } int sum = hundred + twofive + one; Console.WriteLine(sum); } }