#include<bits/stdc++.h>
using namespace std;
int main(){
   int n=3,a[1000];
   for(int i=1;i<=n;i++){
   	cin>>a[i];
   } 
   for(int i=1;i<=n-1;i++){
   	for(int j=i;j<=n-i;j++){
   		if(a[j]<a[j+1])swap(a[j],a[j+1]);
   	}
   } for(int i=1;i<=n;i++){
   	cout<<a[i]<<" ";
   } 
   return 0;
}
/**************************************************************
	Problem: 1040
	User: chenjingqi
	Language: C++
	Result: Wrong Answer
****************************************************************/