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

public class Main {

	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		String[] hikakuStr = line.split("[\\s]+");

		int a = Integer.parseInt(hikakuStr[0]);
		int b = Integer.parseInt(hikakuStr[1]);
		int c = Integer.parseInt(hikakuStr[2]);
		int[] hikakuInt = new int[3];

		hikakuInt[0] = a;
		hikakuInt[1] = b;
		hikakuInt[2] = c;
		int buf = 0;

		for (int w = 0; w < hikakuInt.length - 1; w++) {
			for (int i = 1; i < hikakuInt.length; i++) {
				if (hikakuInt[i - 1] > hikakuInt[i]) {
					buf = hikakuInt[i - 1];
					hikakuInt[i - 1] = hikakuInt[i];
					hikakuInt[i] = buf;
				}
			}
		}
		System.out
				.println(hikakuInt[0] + " " + hikakuInt[1] + " " + hikakuInt[2]);
	}
} 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 {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		String[] hikakuStr = line.split("[\\s]+");

		int a = Integer.parseInt(hikakuStr[0]);
		int b = Integer.parseInt(hikakuStr[1]);
		int c = Integer.parseInt(hikakuStr[2]);
		int[] hikakuInt = new int[3];

		hikakuInt[0] = a;
		hikakuInt[1] = b;
		hikakuInt[2] = c;
		int buf = 0;

		for (int w = 0; w < hikakuInt.length - 1; w++) {
			for (int i = 1; i < hikakuInt.length; i++) {
				if (hikakuInt[i - 1] > hikakuInt[i]) {
					buf = hikakuInt[i - 1];
					hikakuInt[i - 1] = hikakuInt[i];
					hikakuInt[i] = buf;
				}
			}
		}
		System.out
				.println(hikakuInt[0] + " " + hikakuInt[1] + " " + hikakuInt[2]);
	}
} Main public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		String[] hikakuStr = line.split("[\\s]+");

		int a = Integer.parseInt(hikakuStr[0]);
		int b = Integer.parseInt(hikakuStr[1]);
		int c = Integer.parseInt(hikakuStr[2]);
		int[] hikakuInt = new int[3];

		hikakuInt[0] = a;
		hikakuInt[1] = b;
		hikakuInt[2] = c;
		int buf = 0;

		for (int w = 0; w < hikakuInt.length - 1; w++) {
			for (int i = 1; i < hikakuInt.length; i++) {
				if (hikakuInt[i - 1] > hikakuInt[i]) {
					buf = hikakuInt[i - 1];
					hikakuInt[i - 1] = hikakuInt[i];
					hikakuInt[i] = buf;
				}
			}
		}
		System.out
				.println(hikakuInt[0] + " " + hikakuInt[1] + " " + hikakuInt[2]);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		String[] hikakuStr = line.split("[\\s]+");

		int a = Integer.parseInt(hikakuStr[0]);
		int b = Integer.parseInt(hikakuStr[1]);
		int c = Integer.parseInt(hikakuStr[2]);
		int[] hikakuInt = new int[3];

		hikakuInt[0] = a;
		hikakuInt[1] = b;
		hikakuInt[2] = c;
		int buf = 0;

		for (int w = 0; w < hikakuInt.length - 1; w++) {
			for (int i = 1; i < hikakuInt.length; i++) {
				if (hikakuInt[i - 1] > hikakuInt[i]) {
					buf = hikakuInt[i - 1];
					hikakuInt[i - 1] = hikakuInt[i];
					hikakuInt[i] = buf;
				}
			}
		}
		System.out
				.println(hikakuInt[0] + " " + hikakuInt[1] + " " + hikakuInt[2]);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String line = br.readLine(); line br.readLine() br.readLine br String[] hikakuStr = line.split("[\\s]+"); hikakuStr line.split("[\\s]+") line.split line "[\\s]+" int a = Integer.parseInt(hikakuStr[0]); a Integer.parseInt(hikakuStr[0]) Integer.parseInt Integer hikakuStr[0] hikakuStr 0 int b = Integer.parseInt(hikakuStr[1]); b Integer.parseInt(hikakuStr[1]) Integer.parseInt Integer hikakuStr[1] hikakuStr 1 int c = Integer.parseInt(hikakuStr[2]); c Integer.parseInt(hikakuStr[2]) Integer.parseInt Integer hikakuStr[2] hikakuStr 2 int[] hikakuInt = new int[3]; hikakuInt new int[3] 3 hikakuInt[0] = a hikakuInt[0] hikakuInt 0 a hikakuInt[1] = b hikakuInt[1] hikakuInt 1 b hikakuInt[2] = c hikakuInt[2] hikakuInt 2 c int buf = 0; buf 0 for (int w = 0; w < hikakuInt.length - 1; w++) {
			for (int i = 1; i < hikakuInt.length; i++) {
				if (hikakuInt[i - 1] > hikakuInt[i]) {
					buf = hikakuInt[i - 1];
					hikakuInt[i - 1] = hikakuInt[i];
					hikakuInt[i] = buf;
				}
			}
		} int w = 0; int w = 0; w 0 w < hikakuInt.length - 1 w hikakuInt.length - 1 hikakuInt.length hikakuInt hikakuInt.length 1 w++ w++ w {
			for (int i = 1; i < hikakuInt.length; i++) {
				if (hikakuInt[i - 1] > hikakuInt[i]) {
					buf = hikakuInt[i - 1];
					hikakuInt[i - 1] = hikakuInt[i];
					hikakuInt[i] = buf;
				}
			}
		} {
			for (int i = 1; i < hikakuInt.length; i++) {
				if (hikakuInt[i - 1] > hikakuInt[i]) {
					buf = hikakuInt[i - 1];
					hikakuInt[i - 1] = hikakuInt[i];
					hikakuInt[i] = buf;
				}
			}
		} for (int i = 1; i < hikakuInt.length; i++) {
				if (hikakuInt[i - 1] > hikakuInt[i]) {
					buf = hikakuInt[i - 1];
					hikakuInt[i - 1] = hikakuInt[i];
					hikakuInt[i] = buf;
				}
			} int i = 1; int i = 1; i 1 i < hikakuInt.length i hikakuInt.length hikakuInt hikakuInt.length i++ i++ i {
				if (hikakuInt[i - 1] > hikakuInt[i]) {
					buf = hikakuInt[i - 1];
					hikakuInt[i - 1] = hikakuInt[i];
					hikakuInt[i] = buf;
				}
			} {
				if (hikakuInt[i - 1] > hikakuInt[i]) {
					buf = hikakuInt[i - 1];
					hikakuInt[i - 1] = hikakuInt[i];
					hikakuInt[i] = buf;
				}
			} if (hikakuInt[i - 1] > hikakuInt[i]) {
					buf = hikakuInt[i - 1];
					hikakuInt[i - 1] = hikakuInt[i];
					hikakuInt[i] = buf;
				} hikakuInt[i - 1] > hikakuInt[i] hikakuInt[i - 1] hikakuInt i - 1 i 1 hikakuInt[i] hikakuInt i {
					buf = hikakuInt[i - 1];
					hikakuInt[i - 1] = hikakuInt[i];
					hikakuInt[i] = buf;
				} buf = hikakuInt[i - 1] buf hikakuInt[i - 1] hikakuInt i - 1 i 1 hikakuInt[i - 1] = hikakuInt[i] hikakuInt[i - 1] hikakuInt i - 1 i 1 hikakuInt[i] hikakuInt i hikakuInt[i] = buf hikakuInt[i] hikakuInt i buf System.out
				.println(hikakuInt[0] + " " + hikakuInt[1] + " " + hikakuInt[2]) System.out
				.println System.out System System.out hikakuInt[0] + " " + hikakuInt[1] + " " + hikakuInt[2] " " hikakuInt[1] hikakuInt[0] + " " + hikakuInt[1] + " " + hikakuInt[2] hikakuInt[0] hikakuInt 0 " " hikakuInt[1] hikakuInt 1 " " hikakuInt[2] hikakuInt 2 String[] args args public class Main {

	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		String[] hikakuStr = line.split("[\\s]+");

		int a = Integer.parseInt(hikakuStr[0]);
		int b = Integer.parseInt(hikakuStr[1]);
		int c = Integer.parseInt(hikakuStr[2]);
		int[] hikakuInt = new int[3];

		hikakuInt[0] = a;
		hikakuInt[1] = b;
		hikakuInt[2] = c;
		int buf = 0;

		for (int w = 0; w < hikakuInt.length - 1; w++) {
			for (int i = 1; i < hikakuInt.length; i++) {
				if (hikakuInt[i - 1] > hikakuInt[i]) {
					buf = hikakuInt[i - 1];
					hikakuInt[i - 1] = hikakuInt[i];
					hikakuInt[i] = buf;
				}
			}
		}
		System.out
				.println(hikakuInt[0] + " " + hikakuInt[1] + " " + hikakuInt[2]);
	}
} public class Main {

	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		String[] hikakuStr = line.split("[\\s]+");

		int a = Integer.parseInt(hikakuStr[0]);
		int b = Integer.parseInt(hikakuStr[1]);
		int c = Integer.parseInt(hikakuStr[2]);
		int[] hikakuInt = new int[3];

		hikakuInt[0] = a;
		hikakuInt[1] = b;
		hikakuInt[2] = c;
		int buf = 0;

		for (int w = 0; w < hikakuInt.length - 1; w++) {
			for (int i = 1; i < hikakuInt.length; i++) {
				if (hikakuInt[i - 1] > hikakuInt[i]) {
					buf = hikakuInt[i - 1];
					hikakuInt[i - 1] = hikakuInt[i];
					hikakuInt[i] = buf;
				}
			}
		}
		System.out
				.println(hikakuInt[0] + " " + hikakuInt[1] + " " + hikakuInt[2]);
	}
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {

	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		String[] hikakuStr = line.split("[\\s]+");

		int a = Integer.parseInt(hikakuStr[0]);
		int b = Integer.parseInt(hikakuStr[1]);
		int c = Integer.parseInt(hikakuStr[2]);
		int[] hikakuInt = new int[3];

		hikakuInt[0] = a;
		hikakuInt[1] = b;
		hikakuInt[2] = c;
		int buf = 0;

		for (int w = 0; w < hikakuInt.length - 1; w++) {
			for (int i = 1; i < hikakuInt.length; i++) {
				if (hikakuInt[i - 1] > hikakuInt[i]) {
					buf = hikakuInt[i - 1];
					hikakuInt[i - 1] = hikakuInt[i];
					hikakuInt[i] = buf;
				}
			}
		}
		System.out
				.println(hikakuInt[0] + " " + hikakuInt[1] + " " + hikakuInt[2]);
	}
}