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

public class Main {
	public static void main(String[] args) throws IOException {
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader bf = new BufferedReader(is);
		String[] strAry = bf.readLine().split(" ");
		int[] intAry = {Integer.parseInt(strAry[0]), Integer.parseInt(strAry[1]), Integer.parseInt(strAry[2])};
		Arrays.sort(intAry);
		System.out.println(intAry[0] + " " + intAry[1] + " " + intAry[2]);
	}
} import java.io.InputStreamReader; InputStreamReader java.io import java.util.Arrays; Arrays java.util import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io public class Main {
	public static void main(String[] args) throws IOException {
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader bf = new BufferedReader(is);
		String[] strAry = bf.readLine().split(" ");
		int[] intAry = {Integer.parseInt(strAry[0]), Integer.parseInt(strAry[1]), Integer.parseInt(strAry[2])};
		Arrays.sort(intAry);
		System.out.println(intAry[0] + " " + intAry[1] + " " + intAry[2]);
	}
} Main public static void main(String[] args) throws IOException {
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader bf = new BufferedReader(is);
		String[] strAry = bf.readLine().split(" ");
		int[] intAry = {Integer.parseInt(strAry[0]), Integer.parseInt(strAry[1]), Integer.parseInt(strAry[2])};
		Arrays.sort(intAry);
		System.out.println(intAry[0] + " " + intAry[1] + " " + intAry[2]);
	} main {
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader bf = new BufferedReader(is);
		String[] strAry = bf.readLine().split(" ");
		int[] intAry = {Integer.parseInt(strAry[0]), Integer.parseInt(strAry[1]), Integer.parseInt(strAry[2])};
		Arrays.sort(intAry);
		System.out.println(intAry[0] + " " + intAry[1] + " " + intAry[2]);
	} InputStreamReader is = new InputStreamReader(System.in); is new InputStreamReader(System.in) BufferedReader bf = new BufferedReader(is); bf new BufferedReader(is) String[] strAry = bf.readLine().split(" "); strAry bf.readLine().split(" ") bf.readLine().split bf.readLine() bf.readLine bf " " int[] intAry = {Integer.parseInt(strAry[0]), Integer.parseInt(strAry[1]), Integer.parseInt(strAry[2])}; intAry {Integer.parseInt(strAry[0]), Integer.parseInt(strAry[1]), Integer.parseInt(strAry[2])} Integer.parseInt(strAry[0]) Integer.parseInt Integer strAry[0] strAry 0 Integer.parseInt(strAry[1]) Integer.parseInt Integer strAry[1] strAry 1 Integer.parseInt(strAry[2]) Integer.parseInt Integer strAry[2] strAry 2 Arrays.sort(intAry) Arrays.sort Arrays intAry System.out.println(intAry[0] + " " + intAry[1] + " " + intAry[2]) System.out.println System.out System System.out intAry[0] + " " + intAry[1] + " " + intAry[2] " " intAry[1] intAry[0] + " " + intAry[1] + " " + intAry[2] intAry[0] intAry 0 " " intAry[1] intAry 1 " " intAry[2] intAry 2 String[] args args public class Main {
	public static void main(String[] args) throws IOException {
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader bf = new BufferedReader(is);
		String[] strAry = bf.readLine().split(" ");
		int[] intAry = {Integer.parseInt(strAry[0]), Integer.parseInt(strAry[1]), Integer.parseInt(strAry[2])};
		Arrays.sort(intAry);
		System.out.println(intAry[0] + " " + intAry[1] + " " + intAry[2]);
	}
} public class Main {
	public static void main(String[] args) throws IOException {
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader bf = new BufferedReader(is);
		String[] strAry = bf.readLine().split(" ");
		int[] intAry = {Integer.parseInt(strAry[0]), Integer.parseInt(strAry[1]), Integer.parseInt(strAry[2])};
		Arrays.sort(intAry);
		System.out.println(intAry[0] + " " + intAry[1] + " " + intAry[2]);
	}
} Main
import java.io.InputStreamReader;
import java.util.Arrays;
import java.io.BufferedReader;
import java.io.IOException;

public class Main {
	public static void main(String[] args) throws IOException {
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader bf = new BufferedReader(is);
		String[] strAry = bf.readLine().split(" ");
		int[] intAry = {Integer.parseInt(strAry[0]), Integer.parseInt(strAry[1]), Integer.parseInt(strAry[2])};
		Arrays.sort(intAry);
		System.out.println(intAry[0] + " " + intAry[1] + " " + intAry[2]);
	}
}