#include <bits/stdc++.h>
using namespace std;
int main(void){
    std::deque<int> deq;
    int a;
    while (cin >> a) {
        deq.emplace_back(a);
    }
    sort(deq.begin(),deq.end(),greater<int>());
    for (int i=0;i<deq.size();i++) {
        if (i==deq.size()-1) {
            cout << deq[i] << endl;
        } else {
            cout << deq[i] << " ";
        }
    }
}

