#include<bits/stdc++.h>
using namespace std;
int main(){
	int a,b,c;
	cin>>a>>b>>c;
	if(a>b&&a>c){
		if(b>c){
			cout<<a<<" "<<b<<" "<<c;
		}else{
			cout<<a<<" "<<c<<" "<<b;
		}
	}
	if(b>a&&b>c){//
		if(a>c){//
			cout<<b<<" "<<a<<" "<<c;//
		}else{//
			cout<<b<<" "<<c<<" "<<a;//
		}
		}//
	if(c>a&&c>b){//
		if(a>b){//
			cout<<c<<" "<<a<<" "<<b;//
		}else{//
			cout<<c<<" "<<b<<" "<<a;//
		}//
		}//
	}
/**************************************************************
	Problem: 1040
	User: sucongyi
	Language: C++
	Result: Accepted
	Time:18 ms
	Memory:2072 kb
****************************************************************/