using System;
public class Program
{
public static void Main()
int[] a=new int[6];
for(int i=0; i<6; i++){
Console.WriteLine("Introdueix el "+(i+1)+"º nombre");
a[i]=int.Parse(Console.ReadLine());
}
for(int i=0; i<5; i++){
for(int j=0 ; j<5 ; j++){
if(a[j]>a[j+1]){
int x=a[j+1];
a[j+1]=a[j];
a[j]=x;
Console.Write(a[i]+" ");