#include <bits/stdc++.h>
using namespace std;
int main(){
	int a[10];
	for(int o=0;o<10;o++)cin>>a[o];
	sort(a,a+10);
	for(int o=9;o>=0;o--)cout<<a[o]<<' ';
	return 0;
}

/**************************************************************
	Problem: 1169
	User: zhouhongyi
	Language: C++
	Result: Accepted
	Time:10 ms
	Memory:2076 kb
****************************************************************/