open System let s1 = Console.ReadLine () let s2 = Console.ReadLine () let s3 = Console.ReadLine () [s1; s2; s3] |> List.sort |> List.tail |> List.head |> Console.WriteLine