import java.io.*;
import java.util.*;
class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        StringTokenizer st=new StringTokenizer(br.readLine());
        int[] data=new int[3];
        data[0]=Integer.parseInt(st.nextToken());
        data[1]=Integer.parseInt(st.nextToken());
        data[2]=Integer.parseInt(st.nextToken());
        Arrays.sort(data);
        System.out.println(data[0]+" "+data[1]+" "+data[2]);
    }
} import java.io.*; io.* java import java.util.*; util.* java class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        StringTokenizer st=new StringTokenizer(br.readLine());
        int[] data=new int[3];
        data[0]=Integer.parseInt(st.nextToken());
        data[1]=Integer.parseInt(st.nextToken());
        data[2]=Integer.parseInt(st.nextToken());
        Arrays.sort(data);
        System.out.println(data[0]+" "+data[1]+" "+data[2]);
    }
} Main public static void main(String[] args) throws IOException {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        StringTokenizer st=new StringTokenizer(br.readLine());
        int[] data=new int[3];
        data[0]=Integer.parseInt(st.nextToken());
        data[1]=Integer.parseInt(st.nextToken());
        data[2]=Integer.parseInt(st.nextToken());
        Arrays.sort(data);
        System.out.println(data[0]+" "+data[1]+" "+data[2]);
    } main {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        StringTokenizer st=new StringTokenizer(br.readLine());
        int[] data=new int[3];
        data[0]=Integer.parseInt(st.nextToken());
        data[1]=Integer.parseInt(st.nextToken());
        data[2]=Integer.parseInt(st.nextToken());
        Arrays.sort(data);
        System.out.println(data[0]+" "+data[1]+" "+data[2]);
    } BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) StringTokenizer st=new StringTokenizer(br.readLine()); st new StringTokenizer(br.readLine()) int[] data=new int[3]; data new int[3] 3 data[0]=Integer.parseInt(st.nextToken()) data[0] data 0 Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st data[1]=Integer.parseInt(st.nextToken()) data[1] data 1 Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st data[2]=Integer.parseInt(st.nextToken()) data[2] data 2 Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st Arrays.sort(data) Arrays.sort Arrays data System.out.println(data[0]+" "+data[1]+" "+data[2]) System.out.println System.out System System.out data[0]+" "+data[1]+" "+data[2] " " data[1] data[0]+" "+data[1]+" "+data[2] data[0] data 0 " " data[1] data 1 " " data[2] data 2 String[] args args
import java.io.*;
import java.util.*;
class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        StringTokenizer st=new StringTokenizer(br.readLine());
        int[] data=new int[3];
        data[0]=Integer.parseInt(st.nextToken());
        data[1]=Integer.parseInt(st.nextToken());
        data[2]=Integer.parseInt(st.nextToken());
        Arrays.sort(data);
        System.out.println(data[0]+" "+data[1]+" "+data[2]);
    }
}