import java.util.Arrays;
import java.util.Scanner;
import java.util.stream.IntStream;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner s = new Scanner(System.in);
        System.out.println(Arrays.toString(IntStream.of(s.nextInt(), s.nextInt(), s.nextInt()).sorted().toArray()).replaceAll("[\\[\\],]", ""));
    }
} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util import java.util.stream.IntStream; IntStream java.util.stream public class Main {
    public static void main(String[] args) throws Exception {
        Scanner s = new Scanner(System.in);
        System.out.println(Arrays.toString(IntStream.of(s.nextInt(), s.nextInt(), s.nextInt()).sorted().toArray()).replaceAll("[\\[\\],]", ""));
    }
} Main public static void main(String[] args) throws Exception {
        Scanner s = new Scanner(System.in);
        System.out.println(Arrays.toString(IntStream.of(s.nextInt(), s.nextInt(), s.nextInt()).sorted().toArray()).replaceAll("[\\[\\],]", ""));
    } main {
        Scanner s = new Scanner(System.in);
        System.out.println(Arrays.toString(IntStream.of(s.nextInt(), s.nextInt(), s.nextInt()).sorted().toArray()).replaceAll("[\\[\\],]", ""));
    } Scanner s = new Scanner(System.in); s new Scanner(System.in) System.out.println(Arrays.toString(IntStream.of(s.nextInt(), s.nextInt(), s.nextInt()).sorted().toArray()).replaceAll("[\\[\\],]", "")) System.out.println System.out System System.out Arrays.toString(IntStream.of(s.nextInt(), s.nextInt(), s.nextInt()).sorted().toArray()).replaceAll("[\\[\\],]", "") Arrays.toString(IntStream.of(s.nextInt(), s.nextInt(), s.nextInt()).sorted().toArray()).replaceAll Arrays.toString(IntStream.of(s.nextInt(), s.nextInt(), s.nextInt()).sorted().toArray()) Arrays.toString Arrays IntStream.of(s.nextInt(), s.nextInt(), s.nextInt()).sorted().toArray() IntStream.of(s.nextInt(), s.nextInt(), s.nextInt()).sorted().toArray IntStream.of(s.nextInt(), s.nextInt(), s.nextInt()).sorted() IntStream.of(s.nextInt(), s.nextInt(), s.nextInt()).sorted IntStream.of(s.nextInt(), s.nextInt(), s.nextInt()) IntStream.of IntStream s.nextInt() s.nextInt s s.nextInt() s.nextInt s s.nextInt() s.nextInt s "[\\[\\],]" "" String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        Scanner s = new Scanner(System.in);
        System.out.println(Arrays.toString(IntStream.of(s.nextInt(), s.nextInt(), s.nextInt()).sorted().toArray()).replaceAll("[\\[\\],]", ""));
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        Scanner s = new Scanner(System.in);
        System.out.println(Arrays.toString(IntStream.of(s.nextInt(), s.nextInt(), s.nextInt()).sorted().toArray()).replaceAll("[\\[\\],]", ""));
    }
} Main
import java.util.Arrays;
import java.util.Scanner;
import java.util.stream.IntStream;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner s = new Scanner(System.in);
        System.out.println(Arrays.toString(IntStream.of(s.nextInt(), s.nextInt(), s.nextInt()).sorted().toArray()).replaceAll("[\\[\\],]", ""));
    }
}