#include <stdio.h>

int L[10];

int main(){
	
	for(int i=0;i<10;i++)scanf("%d",&L[i]);
	
	for(int i=0;i<10;i++){
		int tmp=i;
		for(int j=i+1;j<10;j++){
			if(L[tmp]>L[j]){
				tmp=j;
			}
		}
		
		//printf("%d %d\n",i,tmp);
		
		if(i!=tmp){
			L[i]=L[i]+L[tmp];
			L[tmp]=L[i]-L[tmp];
			L[i]=L[i]-L[tmp];	
		}
		
		//for(int i=0;i<10;i++)printf("%d ",L[i]);
		//puts("");
	}
	
	for(int i=0;i<10;i++)printf("%d ",L[i]);
	
	return 0;
}
