import java.io.*;
import java.util.Scanner;
import java.util.Arrays;

class Main {
    static Scanner sc = new Scanner(System.in);
    public static void main(String[] args) throws IOException {
        int[] v = new int[3];
        for(int i = 0; i < 3; ++i) {
            v[i] = ReadInt();
        }
        Arrays.sort(v);
        System.out.println(v[0] + " " + v[1] + " " + v[2]);
    }
    static int ReadInt() throws IOException {
        return Integer.parseInt(sc.next());
    }
} import java.io.*; io.* java import java.util.Scanner; Scanner java.util import java.util.Arrays; Arrays java.util class Main {
    static Scanner sc = new Scanner(System.in);
    public static void main(String[] args) throws IOException {
        int[] v = new int[3];
        for(int i = 0; i < 3; ++i) {
            v[i] = ReadInt();
        }
        Arrays.sort(v);
        System.out.println(v[0] + " " + v[1] + " " + v[2]);
    }
    static int ReadInt() throws IOException {
        return Integer.parseInt(sc.next());
    }
} Main static Scanner sc = new Scanner(System.in); sc new Scanner(System.in) public static void main(String[] args) throws IOException {
        int[] v = new int[3];
        for(int i = 0; i < 3; ++i) {
            v[i] = ReadInt();
        }
        Arrays.sort(v);
        System.out.println(v[0] + " " + v[1] + " " + v[2]);
    } main {
        int[] v = new int[3];
        for(int i = 0; i < 3; ++i) {
            v[i] = ReadInt();
        }
        Arrays.sort(v);
        System.out.println(v[0] + " " + v[1] + " " + v[2]);
    } int[] v = new int[3]; v new int[3] 3 for(int i = 0; i < 3; ++i) {
            v[i] = ReadInt();
        } int i = 0; int i = 0; i 0 i < 3 i 3 ++i ++i i {
            v[i] = ReadInt();
        } {
            v[i] = ReadInt();
        } v[i] = ReadInt() v[i] v i ReadInt() ReadInt Arrays.sort(v) Arrays.sort Arrays v System.out.println(v[0] + " " + v[1] + " " + v[2]) System.out.println System.out System System.out v[0] + " " + v[1] + " " + v[2] " " v[1] v[0] + " " + v[1] + " " + v[2] v[0] v 0 " " v[1] v 1 " " v[2] v 2 String[] args args static int ReadInt() throws IOException {
        return Integer.parseInt(sc.next());
    } ReadInt {
        return Integer.parseInt(sc.next());
    } return Integer.parseInt(sc.next()); Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc
import java.io.*;
import java.util.Scanner;
import java.util.Arrays;

class Main {
    static Scanner sc = new Scanner(System.in);
    public static void main(String[] args) throws IOException {
        int[] v = new int[3];
        for(int i = 0; i < 3; ++i) {
            v[i] = ReadInt();
        }
        Arrays.sort(v);
        System.out.println(v[0] + " " + v[1] + " " + v[2]);
    }
    static int ReadInt() throws IOException {
        return Integer.parseInt(sc.next());
    }
}