import java.io.*;
import java.util.Arrays;

public class Main {

    public static void main(String[] args) throws IOException  {
        
        BufferedReader reader =
            new BufferedReader(new InputStreamReader(System.in));
 
        String[] line = reader.readLine().split(" ");
        int a = 0;
        int[] list;
        list = new int[3];
        
        for(int i = 0; i < 3; i++) {           
            list[i] = Integer.parseInt(line[i]);
        }
        
        Arrays.sort(list);
        
        System.out.println(list[0]+" "+list[1]+" "+list[2]);
        
        
    }
    
} import java.io.*; io.* java import java.util.Arrays; Arrays java.util public class Main {

    public static void main(String[] args) throws IOException  {
        
        BufferedReader reader =
            new BufferedReader(new InputStreamReader(System.in));
 
        String[] line = reader.readLine().split(" ");
        int a = 0;
        int[] list;
        list = new int[3];
        
        for(int i = 0; i < 3; i++) {           
            list[i] = Integer.parseInt(line[i]);
        }
        
        Arrays.sort(list);
        
        System.out.println(list[0]+" "+list[1]+" "+list[2]);
        
        
    }
    
} Main public static void main(String[] args) throws IOException  {
        
        BufferedReader reader =
            new BufferedReader(new InputStreamReader(System.in));
 
        String[] line = reader.readLine().split(" ");
        int a = 0;
        int[] list;
        list = new int[3];
        
        for(int i = 0; i < 3; i++) {           
            list[i] = Integer.parseInt(line[i]);
        }
        
        Arrays.sort(list);
        
        System.out.println(list[0]+" "+list[1]+" "+list[2]);
        
        
    } main {
        
        BufferedReader reader =
            new BufferedReader(new InputStreamReader(System.in));
 
        String[] line = reader.readLine().split(" ");
        int a = 0;
        int[] list;
        list = new int[3];
        
        for(int i = 0; i < 3; i++) {           
            list[i] = Integer.parseInt(line[i]);
        }
        
        Arrays.sort(list);
        
        System.out.println(list[0]+" "+list[1]+" "+list[2]);
        
        
    } BufferedReader reader =
            new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) String[] line = reader.readLine().split(" "); line reader.readLine().split(" ") reader.readLine().split reader.readLine() reader.readLine reader " " int a = 0; a 0 int[] list; list list = new int[3] list new int[3] 3 for(int i = 0; i < 3; i++) {           
            list[i] = Integer.parseInt(line[i]);
        } int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {           
            list[i] = Integer.parseInt(line[i]);
        } {           
            list[i] = Integer.parseInt(line[i]);
        } list[i] = Integer.parseInt(line[i]) list[i] list i Integer.parseInt(line[i]) Integer.parseInt Integer line[i] line i Arrays.sort(list) Arrays.sort Arrays list System.out.println(list[0]+" "+list[1]+" "+list[2]) System.out.println System.out System System.out list[0]+" "+list[1]+" "+list[2] " " list[1] list[0]+" "+list[1]+" "+list[2] list[0] list 0 " " list[1] list 1 " " list[2] list 2 String[] args args public class Main {

    public static void main(String[] args) throws IOException  {
        
        BufferedReader reader =
            new BufferedReader(new InputStreamReader(System.in));
 
        String[] line = reader.readLine().split(" ");
        int a = 0;
        int[] list;
        list = new int[3];
        
        for(int i = 0; i < 3; i++) {           
            list[i] = Integer.parseInt(line[i]);
        }
        
        Arrays.sort(list);
        
        System.out.println(list[0]+" "+list[1]+" "+list[2]);
        
        
    }
    
} public class Main {

    public static void main(String[] args) throws IOException  {
        
        BufferedReader reader =
            new BufferedReader(new InputStreamReader(System.in));
 
        String[] line = reader.readLine().split(" ");
        int a = 0;
        int[] list;
        list = new int[3];
        
        for(int i = 0; i < 3; i++) {           
            list[i] = Integer.parseInt(line[i]);
        }
        
        Arrays.sort(list);
        
        System.out.println(list[0]+" "+list[1]+" "+list[2]);
        
        
    }
    
} Main
import java.io.*;
import java.util.Arrays;

public class Main {

    public static void main(String[] args) throws IOException  {
        
        BufferedReader reader =
            new BufferedReader(new InputStreamReader(System.in));
 
        String[] line = reader.readLine().split(" ");
        int a = 0;
        int[] list;
        list = new int[3];
        
        for(int i = 0; i < 3; i++) {           
            list[i] = Integer.parseInt(line[i]);
        }
        
        Arrays.sort(list);
        
        System.out.println(list[0]+" "+list[1]+" "+list[2]);
        
        
    }
    
}