using System.Collections.Generic;
using System.Threading.Tasks;
static void Main(string[] args)
List<int> list = new List<int>();
using (StreamReader sr = new StreamReader(@"C:\Users\Asus\Documents\Visual Studio 2015\Projects\PT2017G1\input.txt"))
string[] str = line.Split(' ');
for (int i = 0; i < str.Length; i++)
Console.WriteLine("Max:{0} Min:{1}", list[str.Length - 1], list[0]);