import java.util.*;

public class Main {
    private static final Scanner scn = new Scanner(System.in);
    
    public static void main(String[] args) {
        int[] ary = {scn.nextInt(), scn.nextInt(), scn.nextInt()};
        Arrays.sort(ary);
        System.out.println(ary[0] + " " + ary[1] + " " + ary[2]);
    }
} import java.util.*; util.* java public class Main {
    private static final Scanner scn = new Scanner(System.in);
    
    public static void main(String[] args) {
        int[] ary = {scn.nextInt(), scn.nextInt(), scn.nextInt()};
        Arrays.sort(ary);
        System.out.println(ary[0] + " " + ary[1] + " " + ary[2]);
    }
} Main private static final Scanner scn = new Scanner(System.in); scn new Scanner(System.in) public static void main(String[] args) {
        int[] ary = {scn.nextInt(), scn.nextInt(), scn.nextInt()};
        Arrays.sort(ary);
        System.out.println(ary[0] + " " + ary[1] + " " + ary[2]);
    } main {
        int[] ary = {scn.nextInt(), scn.nextInt(), scn.nextInt()};
        Arrays.sort(ary);
        System.out.println(ary[0] + " " + ary[1] + " " + ary[2]);
    } int[] ary = {scn.nextInt(), scn.nextInt(), scn.nextInt()}; ary {scn.nextInt(), scn.nextInt(), scn.nextInt()} scn.nextInt() scn.nextInt scn scn.nextInt() scn.nextInt scn scn.nextInt() scn.nextInt scn Arrays.sort(ary) Arrays.sort Arrays ary System.out.println(ary[0] + " " + ary[1] + " " + ary[2]) System.out.println System.out System System.out ary[0] + " " + ary[1] + " " + ary[2] " " ary[1] ary[0] + " " + ary[1] + " " + ary[2] ary[0] ary 0 " " ary[1] ary 1 " " ary[2] ary 2 String[] args args public class Main {
    private static final Scanner scn = new Scanner(System.in);
    
    public static void main(String[] args) {
        int[] ary = {scn.nextInt(), scn.nextInt(), scn.nextInt()};
        Arrays.sort(ary);
        System.out.println(ary[0] + " " + ary[1] + " " + ary[2]);
    }
} public class Main {
    private static final Scanner scn = new Scanner(System.in);
    
    public static void main(String[] args) {
        int[] ary = {scn.nextInt(), scn.nextInt(), scn.nextInt()};
        Arrays.sort(ary);
        System.out.println(ary[0] + " " + ary[1] + " " + ary[2]);
    }
} Main
import java.util.*;

public class Main {
    private static final Scanner scn = new Scanner(System.in);
    
    public static void main(String[] args) {
        int[] ary = {scn.nextInt(), scn.nextInt(), scn.nextInt()};
        Arrays.sort(ary);
        System.out.println(ary[0] + " " + ary[1] + " " + ary[2]);
    }
}