import java.util.Arrays;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner (System.in);
        while(sc.hasNext()){
            String[] inputstr = sc.nextLine().split(" ");
            Arrays.sort(inputstr);
            int inputnum = Integer.parseInt(inputstr[0]);
            int inputnum2 = Integer.parseInt(inputstr[1]);
            int inputnum3 = Integer.parseInt(inputstr[2]);
            System.out.println(inputnum+" "+inputnum2+" "+inputnum3);
        }
    }
} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner (System.in);
        while(sc.hasNext()){
            String[] inputstr = sc.nextLine().split(" ");
            Arrays.sort(inputstr);
            int inputnum = Integer.parseInt(inputstr[0]);
            int inputnum2 = Integer.parseInt(inputstr[1]);
            int inputnum3 = Integer.parseInt(inputstr[2]);
            System.out.println(inputnum+" "+inputnum2+" "+inputnum3);
        }
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner (System.in);
        while(sc.hasNext()){
            String[] inputstr = sc.nextLine().split(" ");
            Arrays.sort(inputstr);
            int inputnum = Integer.parseInt(inputstr[0]);
            int inputnum2 = Integer.parseInt(inputstr[1]);
            int inputnum3 = Integer.parseInt(inputstr[2]);
            System.out.println(inputnum+" "+inputnum2+" "+inputnum3);
        }
    } main {
        Scanner sc = new Scanner (System.in);
        while(sc.hasNext()){
            String[] inputstr = sc.nextLine().split(" ");
            Arrays.sort(inputstr);
            int inputnum = Integer.parseInt(inputstr[0]);
            int inputnum2 = Integer.parseInt(inputstr[1]);
            int inputnum3 = Integer.parseInt(inputstr[2]);
            System.out.println(inputnum+" "+inputnum2+" "+inputnum3);
        }
    } Scanner sc = new Scanner (System.in); sc new Scanner (System.in) while(sc.hasNext()){
            String[] inputstr = sc.nextLine().split(" ");
            Arrays.sort(inputstr);
            int inputnum = Integer.parseInt(inputstr[0]);
            int inputnum2 = Integer.parseInt(inputstr[1]);
            int inputnum3 = Integer.parseInt(inputstr[2]);
            System.out.println(inputnum+" "+inputnum2+" "+inputnum3);
        } sc.hasNext() sc.hasNext sc {
            String[] inputstr = sc.nextLine().split(" ");
            Arrays.sort(inputstr);
            int inputnum = Integer.parseInt(inputstr[0]);
            int inputnum2 = Integer.parseInt(inputstr[1]);
            int inputnum3 = Integer.parseInt(inputstr[2]);
            System.out.println(inputnum+" "+inputnum2+" "+inputnum3);
        } String[] inputstr = sc.nextLine().split(" "); inputstr sc.nextLine().split(" ") sc.nextLine().split sc.nextLine() sc.nextLine sc " " Arrays.sort(inputstr) Arrays.sort Arrays inputstr int inputnum = Integer.parseInt(inputstr[0]); inputnum Integer.parseInt(inputstr[0]) Integer.parseInt Integer inputstr[0] inputstr 0 int inputnum2 = Integer.parseInt(inputstr[1]); inputnum2 Integer.parseInt(inputstr[1]) Integer.parseInt Integer inputstr[1] inputstr 1 int inputnum3 = Integer.parseInt(inputstr[2]); inputnum3 Integer.parseInt(inputstr[2]) Integer.parseInt Integer inputstr[2] inputstr 2 System.out.println(inputnum+" "+inputnum2+" "+inputnum3) System.out.println System.out System System.out inputnum+" "+inputnum2+" "+inputnum3 " " inputnum2 inputnum+" "+inputnum2+" "+inputnum3 inputnum " " inputnum2 " " inputnum3 String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner (System.in);
        while(sc.hasNext()){
            String[] inputstr = sc.nextLine().split(" ");
            Arrays.sort(inputstr);
            int inputnum = Integer.parseInt(inputstr[0]);
            int inputnum2 = Integer.parseInt(inputstr[1]);
            int inputnum3 = Integer.parseInt(inputstr[2]);
            System.out.println(inputnum+" "+inputnum2+" "+inputnum3);
        }
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner (System.in);
        while(sc.hasNext()){
            String[] inputstr = sc.nextLine().split(" ");
            Arrays.sort(inputstr);
            int inputnum = Integer.parseInt(inputstr[0]);
            int inputnum2 = Integer.parseInt(inputstr[1]);
            int inputnum3 = Integer.parseInt(inputstr[2]);
            System.out.println(inputnum+" "+inputnum2+" "+inputnum3);
        }
    }
} Main
import java.util.Arrays;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner (System.in);
        while(sc.hasNext()){
            String[] inputstr = sc.nextLine().split(" ");
            Arrays.sort(inputstr);
            int inputnum = Integer.parseInt(inputstr[0]);
            int inputnum2 = Integer.parseInt(inputstr[1]);
            int inputnum3 = Integer.parseInt(inputstr[2]);
            System.out.println(inputnum+" "+inputnum2+" "+inputnum3);
        }
    }
}