import static java.lang.System.out;
import java.util.Scanner;
import java.util.List;
import java.util.ArrayList;
import java.util.Collections;

public class Main {
    public static void main(String[] args) {
        Main test = new Main();
        List<Integer> list = test.makeList();
        Collections.sort(list);
        out.printf("%d %d %d%n", list.get(0), list.get(1), list.get(2));

    }

    public List<Integer> makeList() {
        Scanner scan = new Scanner(System.in);
        List<Integer> nums = new ArrayList<>();
        nums.add(scan.nextInt());
        nums.add(scan.nextInt());
        nums.add(scan.nextInt());

        return nums;
    }                                                                  
} import static java.lang.System.out; import static java.lang.System.out; import static java.lang.System.out; import java.util.Scanner; Scanner java.util import java.util.List; List java.util import java.util.ArrayList; ArrayList java.util import java.util.Collections; Collections java.util public class Main {
    public static void main(String[] args) {
        Main test = new Main();
        List<Integer> list = test.makeList();
        Collections.sort(list);
        out.printf("%d %d %d%n", list.get(0), list.get(1), list.get(2));

    }

    public List<Integer> makeList() {
        Scanner scan = new Scanner(System.in);
        List<Integer> nums = new ArrayList<>();
        nums.add(scan.nextInt());
        nums.add(scan.nextInt());
        nums.add(scan.nextInt());

        return nums;
    }                                                                  
} Main public static void main(String[] args) {
        Main test = new Main();
        List<Integer> list = test.makeList();
        Collections.sort(list);
        out.printf("%d %d %d%n", list.get(0), list.get(1), list.get(2));

    } main {
        Main test = new Main();
        List<Integer> list = test.makeList();
        Collections.sort(list);
        out.printf("%d %d %d%n", list.get(0), list.get(1), list.get(2));

    } Main test = new Main(); test new Main() List<Integer> list = test.makeList(); list test.makeList() test.makeList test Collections.sort(list) Collections.sort Collections list out.printf("%d %d %d%n", list.get(0), list.get(1), list.get(2)) out.printf out "%d %d %d%n" list.get(0) list.get list 0 list.get(1) list.get list 1 list.get(2) list.get list 2 String[] args args public List<Integer> makeList() {
        Scanner scan = new Scanner(System.in);
        List<Integer> nums = new ArrayList<>();
        nums.add(scan.nextInt());
        nums.add(scan.nextInt());
        nums.add(scan.nextInt());

        return nums;
    } makeList {
        Scanner scan = new Scanner(System.in);
        List<Integer> nums = new ArrayList<>();
        nums.add(scan.nextInt());
        nums.add(scan.nextInt());
        nums.add(scan.nextInt());

        return nums;
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) List<Integer> nums = new ArrayList<>(); nums new ArrayList<>() nums.add(scan.nextInt()) nums.add nums scan.nextInt() scan.nextInt scan nums.add(scan.nextInt()) nums.add nums scan.nextInt() scan.nextInt scan nums.add(scan.nextInt()) nums.add nums scan.nextInt() scan.nextInt scan return nums; nums public class Main {
    public static void main(String[] args) {
        Main test = new Main();
        List<Integer> list = test.makeList();
        Collections.sort(list);
        out.printf("%d %d %d%n", list.get(0), list.get(1), list.get(2));

    }

    public List<Integer> makeList() {
        Scanner scan = new Scanner(System.in);
        List<Integer> nums = new ArrayList<>();
        nums.add(scan.nextInt());
        nums.add(scan.nextInt());
        nums.add(scan.nextInt());

        return nums;
    }                                                                  
} public class Main {
    public static void main(String[] args) {
        Main test = new Main();
        List<Integer> list = test.makeList();
        Collections.sort(list);
        out.printf("%d %d %d%n", list.get(0), list.get(1), list.get(2));

    }

    public List<Integer> makeList() {
        Scanner scan = new Scanner(System.in);
        List<Integer> nums = new ArrayList<>();
        nums.add(scan.nextInt());
        nums.add(scan.nextInt());
        nums.add(scan.nextInt());

        return nums;
    }                                                                  
} Main
import static java.lang.System.out;
import java.util.Scanner;
import java.util.List;
import java.util.ArrayList;
import java.util.Collections;

public class Main {
    public static void main(String[] args) {
        Main test = new Main();
        List<Integer> list = test.makeList();
        Collections.sort(list);
        out.printf("%d %d %d%n", list.get(0), list.get(1), list.get(2));

    }

    public List<Integer> makeList() {
        Scanner scan = new Scanner(System.in);
        List<Integer> nums = new ArrayList<>();
        nums.add(scan.nextInt());
        nums.add(scan.nextInt());
        nums.add(scan.nextInt());

        return nums;
    }                                                                  
}