import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {

	public static void main(String[] args) throws Exception {
		String inStr;
		inStr = inp();
		String[] in;
		in = inStr.split(" ");

		int[] e = { Integer.valueOf(in[0]), Integer.valueOf(in[1]), Integer.valueOf(in[2]) };

		for (int i = 0; i < 2; i++)
			for (int j = i + 1; j < 3; j++)
				if (e[i] > e[j]) {
					int tmp = e[i];
					e[i] = e[j];
					e[j] = tmp;
				}

		System.out.println(e[0] + " " + e[1] + " " + e[2]);

	}

	private static String inp() throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		return br.readLine();
	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

	public static void main(String[] args) throws Exception {
		String inStr;
		inStr = inp();
		String[] in;
		in = inStr.split(" ");

		int[] e = { Integer.valueOf(in[0]), Integer.valueOf(in[1]), Integer.valueOf(in[2]) };

		for (int i = 0; i < 2; i++)
			for (int j = i + 1; j < 3; j++)
				if (e[i] > e[j]) {
					int tmp = e[i];
					e[i] = e[j];
					e[j] = tmp;
				}

		System.out.println(e[0] + " " + e[1] + " " + e[2]);

	}

	private static String inp() throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		return br.readLine();
	}

} Main public static void main(String[] args) throws Exception {
		String inStr;
		inStr = inp();
		String[] in;
		in = inStr.split(" ");

		int[] e = { Integer.valueOf(in[0]), Integer.valueOf(in[1]), Integer.valueOf(in[2]) };

		for (int i = 0; i < 2; i++)
			for (int j = i + 1; j < 3; j++)
				if (e[i] > e[j]) {
					int tmp = e[i];
					e[i] = e[j];
					e[j] = tmp;
				}

		System.out.println(e[0] + " " + e[1] + " " + e[2]);

	} main {
		String inStr;
		inStr = inp();
		String[] in;
		in = inStr.split(" ");

		int[] e = { Integer.valueOf(in[0]), Integer.valueOf(in[1]), Integer.valueOf(in[2]) };

		for (int i = 0; i < 2; i++)
			for (int j = i + 1; j < 3; j++)
				if (e[i] > e[j]) {
					int tmp = e[i];
					e[i] = e[j];
					e[j] = tmp;
				}

		System.out.println(e[0] + " " + e[1] + " " + e[2]);

	} String inStr; inStr inStr = inp() inStr inp() inp String[] in; in in = inStr.split(" ") in inStr.split(" ") inStr.split inStr " " int[] e = { Integer.valueOf(in[0]), Integer.valueOf(in[1]), Integer.valueOf(in[2]) }; e { Integer.valueOf(in[0]), Integer.valueOf(in[1]), Integer.valueOf(in[2]) } Integer.valueOf(in[0]) Integer.valueOf Integer in[0] in 0 Integer.valueOf(in[1]) Integer.valueOf Integer in[1] in 1 Integer.valueOf(in[2]) Integer.valueOf Integer in[2] in 2 for (int i = 0; i < 2; i++)
			for (int j = i + 1; j < 3; j++)
				if (e[i] > e[j]) {
					int tmp = e[i];
					e[i] = e[j];
					e[j] = tmp;
				} int i = 0; int i = 0; i 0 i < 2 i 2 i++ i++ i for (int j = i + 1; j < 3; j++)
				if (e[i] > e[j]) {
					int tmp = e[i];
					e[i] = e[j];
					e[j] = tmp;
				} for (int j = i + 1; j < 3; j++)
				if (e[i] > e[j]) {
					int tmp = e[i];
					e[i] = e[j];
					e[j] = tmp;
				} int j = i + 1; int j = i + 1; j i + 1 i 1 j < 3 j 3 j++ j++ j if (e[i] > e[j]) {
					int tmp = e[i];
					e[i] = e[j];
					e[j] = tmp;
				} if (e[i] > e[j]) {
					int tmp = e[i];
					e[i] = e[j];
					e[j] = tmp;
				} e[i] > e[j] e[i] e i e[j] e j {
					int tmp = e[i];
					e[i] = e[j];
					e[j] = tmp;
				} int tmp = e[i]; tmp e[i] e i e[i] = e[j] e[i] e i e[j] e j e[j] = tmp e[j] e j tmp System.out.println(e[0] + " " + e[1] + " " + e[2]) System.out.println System.out System System.out e[0] + " " + e[1] + " " + e[2] " " e[1] e[0] + " " + e[1] + " " + e[2] e[0] e 0 " " e[1] e 1 " " e[2] e 2 String[] args args private static String inp() throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		return br.readLine();
	} inp {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		return br.readLine();
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) return br.readLine(); br.readLine() br.readLine br public class Main {

	public static void main(String[] args) throws Exception {
		String inStr;
		inStr = inp();
		String[] in;
		in = inStr.split(" ");

		int[] e = { Integer.valueOf(in[0]), Integer.valueOf(in[1]), Integer.valueOf(in[2]) };

		for (int i = 0; i < 2; i++)
			for (int j = i + 1; j < 3; j++)
				if (e[i] > e[j]) {
					int tmp = e[i];
					e[i] = e[j];
					e[j] = tmp;
				}

		System.out.println(e[0] + " " + e[1] + " " + e[2]);

	}

	private static String inp() throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		return br.readLine();
	}

} public class Main {

	public static void main(String[] args) throws Exception {
		String inStr;
		inStr = inp();
		String[] in;
		in = inStr.split(" ");

		int[] e = { Integer.valueOf(in[0]), Integer.valueOf(in[1]), Integer.valueOf(in[2]) };

		for (int i = 0; i < 2; i++)
			for (int j = i + 1; j < 3; j++)
				if (e[i] > e[j]) {
					int tmp = e[i];
					e[i] = e[j];
					e[j] = tmp;
				}

		System.out.println(e[0] + " " + e[1] + " " + e[2]);

	}

	private static String inp() throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		return br.readLine();
	}

} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {

	public static void main(String[] args) throws Exception {
		String inStr;
		inStr = inp();
		String[] in;
		in = inStr.split(" ");

		int[] e = { Integer.valueOf(in[0]), Integer.valueOf(in[1]), Integer.valueOf(in[2]) };

		for (int i = 0; i < 2; i++)
			for (int j = i + 1; j < 3; j++)
				if (e[i] > e[j]) {
					int tmp = e[i];
					e[i] = e[j];
					e[j] = tmp;
				}

		System.out.println(e[0] + " " + e[1] + " " + e[2]);

	}

	private static String inp() throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		return br.readLine();
	}

}