import java.io.*;
import java.util.*;

class Main {
	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] ary = br.readLine().split(" ");
		Arrays.sort(ary);
    	System.out.println(ary[0]+" "+ary[1]+" "+ary[2]);
    }
} import java.io.*; io.* java import java.util.*; util.* java class Main {
	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] ary = br.readLine().split(" ");
		Arrays.sort(ary);
    	System.out.println(ary[0]+" "+ary[1]+" "+ary[2]);
    }
} Main public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] ary = br.readLine().split(" ");
		Arrays.sort(ary);
    	System.out.println(ary[0]+" "+ary[1]+" "+ary[2]);
    } main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] ary = br.readLine().split(" ");
		Arrays.sort(ary);
    	System.out.println(ary[0]+" "+ary[1]+" "+ary[2]);
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String[] ary = br.readLine().split(" "); ary br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " Arrays.sort(ary) Arrays.sort Arrays ary System.out.println(ary[0]+" "+ary[1]+" "+ary[2]) System.out.println System.out System System.out ary[0]+" "+ary[1]+" "+ary[2] " " ary[1] ary[0]+" "+ary[1]+" "+ary[2] ary[0] ary 0 " " ary[1] ary 1 " " ary[2] ary 2 String[] args args
import java.io.*;
import java.util.*;

class Main {
	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] ary = br.readLine().split(" ");
		Arrays.sort(ary);
    	System.out.println(ary[0]+" "+ary[1]+" "+ary[2]);
    }
}