import java.io.*;

class Main{
    public static void main(String[] args) throws NumberFormatException,IOException{
        BufferedReader r =
         new BufferedReader(new InputStreamReader(System.in), 1);
          
        String line = r.readLine();    
        String[] w = line.split(" ",0);
        int ret[]={0,0,0};
        ret[0]=Integer.parseInt(w[0]);
        ret[1]=Integer.parseInt(w[1]);
        ret[2]=Integer.parseInt(w[2]);
        
        int buf = 0;
        for (int j=0;j<=2-1 ;j++){
            for (int i =2;i>j;i--){
                if(ret[i] < ret[i-1]) {
                    buf = ret[i-1];
                    ret[i-1]=ret[i];
                    ret[i]=buf;
                }
            }
        }      
        System.out.println(ret[0]+" "+ret[1]+" "+ret[2]);
        r.close();
    }
}
/tmp/hf-datasets-cache/medium/datasets/42704881117311-config-parquet-and-info-qiankunmu-Project_CodeNet-896c9d36/hub/datasets--qiankunmu--Project_CodeNet_Python800_and_Java250/snapshots/c899fde44a77ba1cc14973ed3de064e4ff3aadc7/Project_CodeNet_Java250.tar.gz