using System.Collections.Generic;
using System.Threading.Tasks;
public static void Main()
List <string> Words = new List <string> ();
while ((Word=Console.ReadLine()) !="")
string minWord = Words.Min();
Console.WriteLine(minWord);
string maxWord = Words.Max();
Console.WriteLine(maxWord);
double averageLength = GetAverageLength (Words);
Console.WriteLine(averageLength);
public static double GetAverageLength (List <string> Words)
foreach (string word in Words)
mediumLength += word.Length;
mediumLength /= Words.Count;