import java.util.*;

class SortingThreeNumbers {
    public static void main(String...args) {
        final Scanner sc = new Scanner(System.in);
        final int[] nums = new int[3];
        for (int i = 0; i < 3; i++) {
            nums[i] = sc.nextInt();
        }
        Arrays.sort(nums);
        System.out.println(nums[0] + " " + nums[1] + " " + nums[2]);
    }
}
public class Main {
    public static void main(String... args) {
        SortingThreeNumbers.main();
    }
} import java.util.*; util.* java class SortingThreeNumbers {
    public static void main(String...args) {
        final Scanner sc = new Scanner(System.in);
        final int[] nums = new int[3];
        for (int i = 0; i < 3; i++) {
            nums[i] = sc.nextInt();
        }
        Arrays.sort(nums);
        System.out.println(nums[0] + " " + nums[1] + " " + nums[2]);
    }
} SortingThreeNumbers public static void main(String...args) {
        final Scanner sc = new Scanner(System.in);
        final int[] nums = new int[3];
        for (int i = 0; i < 3; i++) {
            nums[i] = sc.nextInt();
        }
        Arrays.sort(nums);
        System.out.println(nums[0] + " " + nums[1] + " " + nums[2]);
    } main {
        final Scanner sc = new Scanner(System.in);
        final int[] nums = new int[3];
        for (int i = 0; i < 3; i++) {
            nums[i] = sc.nextInt();
        }
        Arrays.sort(nums);
        System.out.println(nums[0] + " " + nums[1] + " " + nums[2]);
    } final Scanner sc = new Scanner(System.in); sc new Scanner(System.in) final int[] nums = new int[3]; nums new int[3] 3 for (int i = 0; i < 3; i++) {
            nums[i] = sc.nextInt();
        } int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
            nums[i] = sc.nextInt();
        } {
            nums[i] = sc.nextInt();
        } nums[i] = sc.nextInt() nums[i] nums i sc.nextInt() sc.nextInt sc 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) {
        SortingThreeNumbers.main();
    }
} Main public static void main(String... args) {
        SortingThreeNumbers.main();
    } main {
        SortingThreeNumbers.main();
    } SortingThreeNumbers.main() SortingThreeNumbers.main SortingThreeNumbers String... args args public class Main {
    public static void main(String... args) {
        SortingThreeNumbers.main();
    }
} public class Main {
    public static void main(String... args) {
        SortingThreeNumbers.main();
    }
} Main
import java.util.*;

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