#includeint main (){int i,n,k,a[10];for (i=0;i<10;i++)scanf("%d",&a[i]);for (i=0;i<9;i++)for (n=0;n<9-i;n++)if(a[n]>a[n+1]){k=a[n];a[n]=a[n+1];a[n+1]=k;}for (i=0;i<10;i++)printf("\n%d",a[i]);printf("\n");return 0;}