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();
    }
} import java.io.*; io.* java 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();
    }
} 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();
    } main {
        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();
    } BufferedReader r =
         new BufferedReader(new InputStreamReader(System.in), 1); r new BufferedReader(new InputStreamReader(System.in), 1) String line = r.readLine(); line r.readLine() r.readLine r String[] w = line.split(" ",0); w line.split(" ",0) line.split line " " 0 int ret[]={0,0,0}; ret {0,0,0} 0 0 0 ret[0]=Integer.parseInt(w[0]) ret[0] ret 0 Integer.parseInt(w[0]) Integer.parseInt Integer w[0] w 0 ret[1]=Integer.parseInt(w[1]) ret[1] ret 1 Integer.parseInt(w[1]) Integer.parseInt Integer w[1] w 1 ret[2]=Integer.parseInt(w[2]) ret[2] ret 2 Integer.parseInt(w[2]) Integer.parseInt Integer w[2] w 2 int buf = 0; 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;
                }
            }
        } int j=0; int j=0; j 0 j<=2-1 j 2-1 2 1 j++ j++ 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;
                }
            }
        } {
            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;
                }
            }
        } 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;
                }
            } int i =2; int i =2; i 2 i>j i j i-- i-- i {
                if(ret[i] < ret[i-1]) {
                    buf = ret[i-1];
                    ret[i-1]=ret[i];
                    ret[i]=buf;
                }
            } {
                if(ret[i] < ret[i-1]) {
                    buf = ret[i-1];
                    ret[i-1]=ret[i];
                    ret[i]=buf;
                }
            } if(ret[i] < ret[i-1]) {
                    buf = ret[i-1];
                    ret[i-1]=ret[i];
                    ret[i]=buf;
                } ret[i] < ret[i-1] ret[i] ret i ret[i-1] ret i-1 i 1 {
                    buf = ret[i-1];
                    ret[i-1]=ret[i];
                    ret[i]=buf;
                } buf = ret[i-1] buf ret[i-1] ret i-1 i 1 ret[i-1]=ret[i] ret[i-1] ret i-1 i 1 ret[i] ret i ret[i]=buf ret[i] ret i buf System.out.println(ret[0]+" "+ret[1]+" "+ret[2]) System.out.println System.out System System.out ret[0]+" "+ret[1]+" "+ret[2] " " ret[1] ret[0]+" "+ret[1]+" "+ret[2] ret[0] ret 0 " " ret[1] ret 1 " " ret[2] ret 2 r.close() r.close r String[] args args
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();
    }
}