using System;
public class Program
{
public static void Main()
int min = 10;
int digit = 0;
int original = 0;
int found = 0;
for (int num = 1; num <= 3; num++)
Console.WriteLine("Please enter the #{0} number", num);
int integer = int.Parse(Console.ReadLine());
original = integer;
while (integer > 0)
digit = integer % 10;
integer = integer / 10;
if (digit < min)
min = digit;
found = original;
}
Console.WriteLine("MINIMUM: {0}", min);
Console.WriteLine("THE NUMBER: {0}", found);