public static void Main()
Console.WriteLine(" HELLO! Welcome! ");
Console.WriteLine("Give me a number ");
one=int.Parse(Console.ReadLine());
Console.WriteLine("Give me another different number ");
two=int.Parse(Console.ReadLine());
Console.WriteLine("Give me another different number ");
three=int.Parse(Console.ReadLine());
if(one==two||one==three||two==three)
Console.WriteLine("Start again");
else if (two > three && two < one)
Console.WriteLine("Middle number is " + two);
else if ( two > three && one < three)
Console.WriteLine( " The middle number is " + three);
else if( two > one && one > three)
Console.WriteLine(" Middle number is " + one);
else if ( three > two && two > one)
Console.WriteLine( "Middle number is " + two);
else if( three > one && two < one)
Console.WriteLine( "Middle number is " + one);
else if ( one > three && two < three)
Console.WriteLine( "Middle number is: " + three);