import java.io.*;
import java.util.Arrays;
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);
        Arrays.sort(w);
        System.out.println(w[0]+" "+w[1]+" "+w[2]);
        r.close();
    }
} import java.io.*; io.* java import java.util.Arrays; Arrays java.util 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);
        Arrays.sort(w);
        System.out.println(w[0]+" "+w[1]+" "+w[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);
        Arrays.sort(w);
        System.out.println(w[0]+" "+w[1]+" "+w[2]);
        r.close();
    } main {
        BufferedReader r =
         new BufferedReader(new InputStreamReader(System.in), 1);
          
        String line = r.readLine();    
        String[] w = line.split(" ",0);
        Arrays.sort(w);
        System.out.println(w[0]+" "+w[1]+" "+w[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 Arrays.sort(w) Arrays.sort Arrays w System.out.println(w[0]+" "+w[1]+" "+w[2]) System.out.println System.out System System.out w[0]+" "+w[1]+" "+w[2] " " w[1] w[0]+" "+w[1]+" "+w[2] w[0] w 0 " " w[1] w 1 " " w[2] w 2 r.close() r.close r String[] args args
import java.io.*;
import java.util.Arrays;
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);
        Arrays.sort(w);
        System.out.println(w[0]+" "+w[1]+" "+w[2]);
        r.close();
    }
}