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

public class Main {
    public static void main(String[] args){
        int[] nums = new int [3];

        Scanner in = new Scanner(System.in);
        for(int x = 0; x < nums.length; x++){
            nums[x] = in.nextInt();
        }
        Arrays.sort(nums);
        System.out.println(nums[0] + " "+ nums[1] + " " + nums[2]);
    }
} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args){
        int[] nums = new int [3];

        Scanner in = new Scanner(System.in);
        for(int x = 0; x < nums.length; x++){
            nums[x] = in.nextInt();
        }
        Arrays.sort(nums);
        System.out.println(nums[0] + " "+ nums[1] + " " + nums[2]);
    }
} Main public static void main(String[] args){
        int[] nums = new int [3];

        Scanner in = new Scanner(System.in);
        for(int x = 0; x < nums.length; x++){
            nums[x] = in.nextInt();
        }
        Arrays.sort(nums);
        System.out.println(nums[0] + " "+ nums[1] + " " + nums[2]);
    } main {
        int[] nums = new int [3];

        Scanner in = new Scanner(System.in);
        for(int x = 0; x < nums.length; x++){
            nums[x] = in.nextInt();
        }
        Arrays.sort(nums);
        System.out.println(nums[0] + " "+ nums[1] + " " + nums[2]);
    } int[] nums = new int [3]; nums new int [3] 3 Scanner in = new Scanner(System.in); in new Scanner(System.in) for(int x = 0; x < nums.length; x++){
            nums[x] = in.nextInt();
        } int x = 0; int x = 0; x 0 x < nums.length x nums.length nums nums.length x++ x++ x {
            nums[x] = in.nextInt();
        } {
            nums[x] = in.nextInt();
        } nums[x] = in.nextInt() nums[x] nums x in.nextInt() in.nextInt in Arrays.sort(nums) Arrays.sort Arrays nums System.out.println(nums[0] + " "+ nums[1] + " " + nums[2]) System.out.println System.out System System.out nums[0] + " "+ nums[1] + " " + nums[2] " " nums[1] nums[0] + " "+ nums[1] + " " + nums[2] nums[0] nums 0 " " nums[1] nums 1 " " nums[2] nums 2 String[] args args public class Main {
    public static void main(String[] args){
        int[] nums = new int [3];

        Scanner in = new Scanner(System.in);
        for(int x = 0; x < nums.length; x++){
            nums[x] = in.nextInt();
        }
        Arrays.sort(nums);
        System.out.println(nums[0] + " "+ nums[1] + " " + nums[2]);
    }
} public class Main {
    public static void main(String[] args){
        int[] nums = new int [3];

        Scanner in = new Scanner(System.in);
        for(int x = 0; x < nums.length; x++){
            nums[x] = in.nextInt();
        }
        Arrays.sort(nums);
        System.out.println(nums[0] + " "+ nums[1] + " " + nums[2]);
    }
} Main
import java.util.Arrays;
import java.util.Scanner;

public class Main {
    public static void main(String[] args){
        int[] nums = new int [3];

        Scanner in = new Scanner(System.in);
        for(int x = 0; x < nums.length; x++){
            nums[x] = in.nextInt();
        }
        Arrays.sort(nums);
        System.out.println(nums[0] + " "+ nums[1] + " " + nums[2]);
    }
}