import java.lang.Math;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;

class Main {
    public static void main(String[] args) {
        Scanner sn = new Scanner(System.in);
        ArrayList<Integer> nums = new ArrayList<Integer>();
        nums.add(sn.nextInt());
        nums.add(sn.nextInt());
        nums.add(sn.nextInt());
        Collections.sort(nums);
        System.out.println(String.format("%d %d %d", nums.get(0), nums.get(1), nums.get(2)));
    }
} import java.lang.Math; Math java.lang import java.util.ArrayList; ArrayList java.util import java.util.Collections; Collections java.util import java.util.Scanner; Scanner java.util class Main {
    public static void main(String[] args) {
        Scanner sn = new Scanner(System.in);
        ArrayList<Integer> nums = new ArrayList<Integer>();
        nums.add(sn.nextInt());
        nums.add(sn.nextInt());
        nums.add(sn.nextInt());
        Collections.sort(nums);
        System.out.println(String.format("%d %d %d", nums.get(0), nums.get(1), nums.get(2)));
    }
} Main public static void main(String[] args) {
        Scanner sn = new Scanner(System.in);
        ArrayList<Integer> nums = new ArrayList<Integer>();
        nums.add(sn.nextInt());
        nums.add(sn.nextInt());
        nums.add(sn.nextInt());
        Collections.sort(nums);
        System.out.println(String.format("%d %d %d", nums.get(0), nums.get(1), nums.get(2)));
    } main {
        Scanner sn = new Scanner(System.in);
        ArrayList<Integer> nums = new ArrayList<Integer>();
        nums.add(sn.nextInt());
        nums.add(sn.nextInt());
        nums.add(sn.nextInt());
        Collections.sort(nums);
        System.out.println(String.format("%d %d %d", nums.get(0), nums.get(1), nums.get(2)));
    } Scanner sn = new Scanner(System.in); sn new Scanner(System.in) ArrayList<Integer> nums = new ArrayList<Integer>(); nums new ArrayList<Integer>() nums.add(sn.nextInt()) nums.add nums sn.nextInt() sn.nextInt sn nums.add(sn.nextInt()) nums.add nums sn.nextInt() sn.nextInt sn nums.add(sn.nextInt()) nums.add nums sn.nextInt() sn.nextInt sn Collections.sort(nums) Collections.sort Collections nums System.out.println(String.format("%d %d %d", nums.get(0), nums.get(1), nums.get(2))) System.out.println System.out System System.out String.format("%d %d %d", nums.get(0), nums.get(1), nums.get(2)) String.format String "%d %d %d" nums.get(0) nums.get nums 0 nums.get(1) nums.get nums 1 nums.get(2) nums.get nums 2 String[] args args
import java.lang.Math;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;

class Main {
    public static void main(String[] args) {
        Scanner sn = new Scanner(System.in);
        ArrayList<Integer> nums = new ArrayList<Integer>();
        nums.add(sn.nextInt());
        nums.add(sn.nextInt());
        nums.add(sn.nextInt());
        Collections.sort(nums);
        System.out.println(String.format("%d %d %d", nums.get(0), nums.get(1), nums.get(2)));
    }
}