#include <bits/stdc++.h>
using namespace std;
int main(){
    int a[10]={0},i,j;
    for(i=0;i<10;i++){
        cin>>a[i];    
    } 
    for(j=9;j>0;j--){
        for(i=0;i<j;i++){
            if(a[i]<a[i+1]){
                swap(a[i],a[i+1]);  
            }
             
        }
 
    }
    for(i=0;i<10;i++){
        cout<<a[i]<<" ";
         
    }
     
}
 
 
/**************************************************************
	Problem: 1169
	User: wengsihan
	Language: C++
	Result: Accepted
	Time:12 ms
	Memory:2072 kb
****************************************************************/