import java.util.*;

class Main {
    public static void main(String[] args) throws Exception{
        Scanner input = new Scanner(System.in);
        int x = input.nextInt();
        int y = input.nextInt();
        int z = input.nextInt();
        int[] ar = {x,y,z};
        Arrays.sort(ar);
        System.out.println(ar[0]+" "+ar[1]+" "+ar[2]);
    }
} import java.util.*; util.* java class Main {
    public static void main(String[] args) throws Exception{
        Scanner input = new Scanner(System.in);
        int x = input.nextInt();
        int y = input.nextInt();
        int z = input.nextInt();
        int[] ar = {x,y,z};
        Arrays.sort(ar);
        System.out.println(ar[0]+" "+ar[1]+" "+ar[2]);
    }
} Main public static void main(String[] args) throws Exception{
        Scanner input = new Scanner(System.in);
        int x = input.nextInt();
        int y = input.nextInt();
        int z = input.nextInt();
        int[] ar = {x,y,z};
        Arrays.sort(ar);
        System.out.println(ar[0]+" "+ar[1]+" "+ar[2]);
    } main {
        Scanner input = new Scanner(System.in);
        int x = input.nextInt();
        int y = input.nextInt();
        int z = input.nextInt();
        int[] ar = {x,y,z};
        Arrays.sort(ar);
        System.out.println(ar[0]+" "+ar[1]+" "+ar[2]);
    } Scanner input = new Scanner(System.in); input new Scanner(System.in) int x = input.nextInt(); x input.nextInt() input.nextInt input int y = input.nextInt(); y input.nextInt() input.nextInt input int z = input.nextInt(); z input.nextInt() input.nextInt input int[] ar = {x,y,z}; ar {x,y,z} x y z Arrays.sort(ar) Arrays.sort Arrays ar System.out.println(ar[0]+" "+ar[1]+" "+ar[2]) System.out.println System.out System System.out ar[0]+" "+ar[1]+" "+ar[2] " " ar[1] ar[0]+" "+ar[1]+" "+ar[2] ar[0] ar 0 " " ar[1] ar 1 " " ar[2] ar 2 String[] args args
import java.util.*;

class Main {
    public static void main(String[] args) throws Exception{
        Scanner input = new Scanner(System.in);
        int x = input.nextInt();
        int y = input.nextInt();
        int z = input.nextInt();
        int[] ar = {x,y,z};
        Arrays.sort(ar);
        System.out.println(ar[0]+" "+ar[1]+" "+ar[2]);
    }
}