using System.Collections.Generic;
public static List<int> GetList()
List<int> intList = new List<int>();
line = Console.ReadLine();
if (String.IsNullOrEmpty(line) == false)
num = Convert.ToInt32(line);
while (String.IsNullOrEmpty(line) == false);
public static void Main()
List<int> listForSorting = GetList();
foreach (int number in listForSorting)
Console.WriteLine(number + " ");