using System; namespace Arrays_Exercise { class Program { static void Main(string[] args) { int a = int.Parse(Console.ReadLine()); int b = int.Parse(Console.ReadLine()); int c = int.Parse(Console.ReadLine()); int minNumber = GetMin(a, b); int smallerFinal = GetMin(minNumber, c); Console.WriteLine(smallerFinal); } private static int GetMin(int a, int b) { if (a < b) { return a; } else { return b; } } } }