import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;

public class Main {
	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] strArr = br.readLine().split(" ");
		long[] arr = new long[strArr.length];
		for(int i = 0; i < strArr.length; i++){
			arr[i] = Long.parseLong(strArr[i]);
		}
		Arrays.sort(arr);
		System.out.printf("%d %d %d%n",arr[0], arr[1], arr[2]);
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.Arrays; Arrays java.util public class Main {
	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] strArr = br.readLine().split(" ");
		long[] arr = new long[strArr.length];
		for(int i = 0; i < strArr.length; i++){
			arr[i] = Long.parseLong(strArr[i]);
		}
		Arrays.sort(arr);
		System.out.printf("%d %d %d%n",arr[0], arr[1], arr[2]);
	}
} Main public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] strArr = br.readLine().split(" ");
		long[] arr = new long[strArr.length];
		for(int i = 0; i < strArr.length; i++){
			arr[i] = Long.parseLong(strArr[i]);
		}
		Arrays.sort(arr);
		System.out.printf("%d %d %d%n",arr[0], arr[1], arr[2]);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] strArr = br.readLine().split(" ");
		long[] arr = new long[strArr.length];
		for(int i = 0; i < strArr.length; i++){
			arr[i] = Long.parseLong(strArr[i]);
		}
		Arrays.sort(arr);
		System.out.printf("%d %d %d%n",arr[0], arr[1], arr[2]);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String[] strArr = br.readLine().split(" "); strArr br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " long[] arr = new long[strArr.length]; arr new long[strArr.length] strArr.length strArr strArr.length for(int i = 0; i < strArr.length; i++){
			arr[i] = Long.parseLong(strArr[i]);
		} int i = 0; int i = 0; i 0 i < strArr.length i strArr.length strArr strArr.length i++ i++ i {
			arr[i] = Long.parseLong(strArr[i]);
		} {
			arr[i] = Long.parseLong(strArr[i]);
		} arr[i] = Long.parseLong(strArr[i]) arr[i] arr i Long.parseLong(strArr[i]) Long.parseLong Long strArr[i] strArr i Arrays.sort(arr) Arrays.sort Arrays arr System.out.printf("%d %d %d%n",arr[0], arr[1], arr[2]) System.out.printf System.out System System.out "%d %d %d%n" arr[0] arr 0 arr[1] arr 1 arr[2] arr 2 String[] args args public class Main {
	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] strArr = br.readLine().split(" ");
		long[] arr = new long[strArr.length];
		for(int i = 0; i < strArr.length; i++){
			arr[i] = Long.parseLong(strArr[i]);
		}
		Arrays.sort(arr);
		System.out.printf("%d %d %d%n",arr[0], arr[1], arr[2]);
	}
} public class Main {
	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] strArr = br.readLine().split(" ");
		long[] arr = new long[strArr.length];
		for(int i = 0; i < strArr.length; i++){
			arr[i] = Long.parseLong(strArr[i]);
		}
		Arrays.sort(arr);
		System.out.printf("%d %d %d%n",arr[0], arr[1], arr[2]);
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;

public class Main {
	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] strArr = br.readLine().split(" ");
		long[] arr = new long[strArr.length];
		for(int i = 0; i < strArr.length; i++){
			arr[i] = Long.parseLong(strArr[i]);
		}
		Arrays.sort(arr);
		System.out.printf("%d %d %d%n",arr[0], arr[1], arr[2]);
	}
}