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

class Main{
    public static void main(String[] args){
        Scanner input = new Scanner(System.in);
        String strInput = input.nextLine();
        String[] str = new String[3];
        str = strInput.split(" ");
        int[] check = {Integer.parseInt(str[0]),Integer.parseInt(str[1]),Integer.parseInt(str[2])};
       Arrays.sort(check);
       System.out.println(check[0] + " " + check[1] + " " + check[2]);
    }
} import java.util.Scanner; Scanner java.util import java.util.Arrays; Arrays java.util class Main{
    public static void main(String[] args){
        Scanner input = new Scanner(System.in);
        String strInput = input.nextLine();
        String[] str = new String[3];
        str = strInput.split(" ");
        int[] check = {Integer.parseInt(str[0]),Integer.parseInt(str[1]),Integer.parseInt(str[2])};
       Arrays.sort(check);
       System.out.println(check[0] + " " + check[1] + " " + check[2]);
    }
} Main public static void main(String[] args){
        Scanner input = new Scanner(System.in);
        String strInput = input.nextLine();
        String[] str = new String[3];
        str = strInput.split(" ");
        int[] check = {Integer.parseInt(str[0]),Integer.parseInt(str[1]),Integer.parseInt(str[2])};
       Arrays.sort(check);
       System.out.println(check[0] + " " + check[1] + " " + check[2]);
    } main {
        Scanner input = new Scanner(System.in);
        String strInput = input.nextLine();
        String[] str = new String[3];
        str = strInput.split(" ");
        int[] check = {Integer.parseInt(str[0]),Integer.parseInt(str[1]),Integer.parseInt(str[2])};
       Arrays.sort(check);
       System.out.println(check[0] + " " + check[1] + " " + check[2]);
    } Scanner input = new Scanner(System.in); input new Scanner(System.in) String strInput = input.nextLine(); strInput input.nextLine() input.nextLine input String[] str = new String[3]; str new String[3] 3 str = strInput.split(" ") str strInput.split(" ") strInput.split strInput " " int[] check = {Integer.parseInt(str[0]),Integer.parseInt(str[1]),Integer.parseInt(str[2])}; check {Integer.parseInt(str[0]),Integer.parseInt(str[1]),Integer.parseInt(str[2])} Integer.parseInt(str[0]) Integer.parseInt Integer str[0] str 0 Integer.parseInt(str[1]) Integer.parseInt Integer str[1] str 1 Integer.parseInt(str[2]) Integer.parseInt Integer str[2] str 2 Arrays.sort(check) Arrays.sort Arrays check System.out.println(check[0] + " " + check[1] + " " + check[2]) System.out.println System.out System System.out check[0] + " " + check[1] + " " + check[2] " " check[1] check[0] + " " + check[1] + " " + check[2] check[0] check 0 " " check[1] check 1 " " check[2] check 2 String[] args args
import java.util.Scanner;
import java.util.Arrays;

class Main{
    public static void main(String[] args){
        Scanner input = new Scanner(System.in);
        String strInput = input.nextLine();
        String[] str = new String[3];
        str = strInput.split(" ");
        int[] check = {Integer.parseInt(str[0]),Integer.parseInt(str[1]),Integer.parseInt(str[2])};
       Arrays.sort(check);
       System.out.println(check[0] + " " + check[1] + " " + check[2]);
    }
}
