using System;
public class Program
{
public static void Main()
int []a = { 6,4,10,-10,0,1};
int temp =0;
for(int i =a.Length;i>0;i--)
for(int j= 0;j<(i-1);j++)
if(a[j]>a[j+1] )
temp=a[j];
a[j]=a[j+1];
a[j+1]=temp;
}
for(int i =0;i<a.Length;i++)
Console.WriteLine(a[i]);