using System;
using System.Collections.Generic;
public class Program
{
public static void Main()
List<int> items = new List<int>(){2,1,5,3,4,6,7,8,9,10,11,12,13,14,15};
int[] arr1 = new int[5];
int[] arr2 = new int[5];
int[] arr3 = new int[5];
int j = 0;
int k =0;
int l =0;
for(int i=0; i < items.Count; i++)
if(i>=0 && i<5)
arr1[j++]=items[i];
continue;
}
if(i>=5 && i<10)
arr2[k++]=items[i];
if(i>=10 && i<15)
arr3[l++]=items[i];
Array.Sort(arr1);
foreach(var item in arr1)
Console.WriteLine(item);