using
System;using
System.Collections.Generic;using
System.Text;namespace
ConsoleApplication1{
class Program{
static void Main(string[] args){
int[] a=new int[5]; for (int i = 0; i < 5; i++)a[i] =
Convert.ToInt16(Console.ReadLine()); for(int k=4;k>0;k--) for(int j=0;j<k;j++) if (a[j] > a[j + 1]){
int temp = a[j];a[j] = a[j + 1];
a[j + 1] = temp;
}
for (int i = 0; i < 5; i++) Console.Write("{0}\t", a[i]); Console.ReadLine();}
}
}