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

public class Main {

	public static void main(String[] args) {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		try {
			String str = br.readLine();
			String[] arr = str.split(" ");
			
			int a = Integer.parseInt(arr[0]);
			int b = Integer.parseInt(arr[1]);
			int c = Integer.parseInt(arr[2]);
			int temp;
			
			if (a < b);
			else {
				temp = a;
				a = b;
				b = temp;
			}
			
			if (b < c);
			else {
				temp = b;
				b = c;
				c = temp;
			}
			
			if (a < b);
			else {
				temp = a;
				a = b;
				b = temp;
			}
			System.out.println(String.valueOf(a) + " " + String.valueOf(b) + " " + String.valueOf(c));
			
		} catch (IOException e) {
			// TODO 自動生成された catch ブロック
			e.printStackTrace();
		}

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

	public static void main(String[] args) {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		try {
			String str = br.readLine();
			String[] arr = str.split(" ");
			
			int a = Integer.parseInt(arr[0]);
			int b = Integer.parseInt(arr[1]);
			int c = Integer.parseInt(arr[2]);
			int temp;
			
			if (a < b);
			else {
				temp = a;
				a = b;
				b = temp;
			}
			
			if (b < c);
			else {
				temp = b;
				b = c;
				c = temp;
			}
			
			if (a < b);
			else {
				temp = a;
				a = b;
				b = temp;
			}
			System.out.println(String.valueOf(a) + " " + String.valueOf(b) + " " + String.valueOf(c));
			
		} catch (IOException e) {
			// TODO 自動生成された catch ブロック
			e.printStackTrace();
		}

	}
} Main public static void main(String[] args) {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		try {
			String str = br.readLine();
			String[] arr = str.split(" ");
			
			int a = Integer.parseInt(arr[0]);
			int b = Integer.parseInt(arr[1]);
			int c = Integer.parseInt(arr[2]);
			int temp;
			
			if (a < b);
			else {
				temp = a;
				a = b;
				b = temp;
			}
			
			if (b < c);
			else {
				temp = b;
				b = c;
				c = temp;
			}
			
			if (a < b);
			else {
				temp = a;
				a = b;
				b = temp;
			}
			System.out.println(String.valueOf(a) + " " + String.valueOf(b) + " " + String.valueOf(c));
			
		} catch (IOException e) {
			// TODO 自動生成された catch ブロック
			e.printStackTrace();
		}

	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		try {
			String str = br.readLine();
			String[] arr = str.split(" ");
			
			int a = Integer.parseInt(arr[0]);
			int b = Integer.parseInt(arr[1]);
			int c = Integer.parseInt(arr[2]);
			int temp;
			
			if (a < b);
			else {
				temp = a;
				a = b;
				b = temp;
			}
			
			if (b < c);
			else {
				temp = b;
				b = c;
				c = temp;
			}
			
			if (a < b);
			else {
				temp = a;
				a = b;
				b = temp;
			}
			System.out.println(String.valueOf(a) + " " + String.valueOf(b) + " " + String.valueOf(c));
			
		} catch (IOException e) {
			// TODO 自動生成された catch ブロック
			e.printStackTrace();
		}

	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) try {
			String str = br.readLine();
			String[] arr = str.split(" ");
			
			int a = Integer.parseInt(arr[0]);
			int b = Integer.parseInt(arr[1]);
			int c = Integer.parseInt(arr[2]);
			int temp;
			
			if (a < b);
			else {
				temp = a;
				a = b;
				b = temp;
			}
			
			if (b < c);
			else {
				temp = b;
				b = c;
				c = temp;
			}
			
			if (a < b);
			else {
				temp = a;
				a = b;
				b = temp;
			}
			System.out.println(String.valueOf(a) + " " + String.valueOf(b) + " " + String.valueOf(c));
			
		} catch (IOException e) {
			// TODO 自動生成された catch ブロック
			e.printStackTrace();
		} catch (IOException e) {
			// TODO 自動生成された catch ブロック
			e.printStackTrace();
		} IOException e {
			// TODO 自動生成された catch ブロック
			e.printStackTrace();
		} e.printStackTrace() e.printStackTrace e {
			String str = br.readLine();
			String[] arr = str.split(" ");
			
			int a = Integer.parseInt(arr[0]);
			int b = Integer.parseInt(arr[1]);
			int c = Integer.parseInt(arr[2]);
			int temp;
			
			if (a < b);
			else {
				temp = a;
				a = b;
				b = temp;
			}
			
			if (b < c);
			else {
				temp = b;
				b = c;
				c = temp;
			}
			
			if (a < b);
			else {
				temp = a;
				a = b;
				b = temp;
			}
			System.out.println(String.valueOf(a) + " " + String.valueOf(b) + " " + String.valueOf(c));
			
		} String str = br.readLine(); str br.readLine() br.readLine br String[] arr = str.split(" "); arr str.split(" ") str.split str " " int a = Integer.parseInt(arr[0]); a Integer.parseInt(arr[0]) Integer.parseInt Integer arr[0] arr 0 int b = Integer.parseInt(arr[1]); b Integer.parseInt(arr[1]) Integer.parseInt Integer arr[1] arr 1 int c = Integer.parseInt(arr[2]); c Integer.parseInt(arr[2]) Integer.parseInt Integer arr[2] arr 2 int temp; temp if (a < b);
			else {
				temp = a;
				a = b;
				b = temp;
			} a < b a b {
				temp = a;
				a = b;
				b = temp;
			} temp = a temp a a = b a b b = temp b temp if (b < c);
			else {
				temp = b;
				b = c;
				c = temp;
			} b < c b c {
				temp = b;
				b = c;
				c = temp;
			} temp = b temp b b = c b c c = temp c temp if (a < b);
			else {
				temp = a;
				a = b;
				b = temp;
			} a < b a b {
				temp = a;
				a = b;
				b = temp;
			} temp = a temp a a = b a b b = temp b temp System.out.println(String.valueOf(a) + " " + String.valueOf(b) + " " + String.valueOf(c)) System.out.println System.out System System.out String.valueOf(a) + " " + String.valueOf(b) + " " + String.valueOf(c) " " String.valueOf(b) String.valueOf(a) + " " + String.valueOf(b) + " " + String.valueOf(c) String.valueOf(a) String.valueOf String a " " String.valueOf(b) String.valueOf String b " " String.valueOf(c) String.valueOf String c String[] args args public class Main {

	public static void main(String[] args) {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		try {
			String str = br.readLine();
			String[] arr = str.split(" ");
			
			int a = Integer.parseInt(arr[0]);
			int b = Integer.parseInt(arr[1]);
			int c = Integer.parseInt(arr[2]);
			int temp;
			
			if (a < b);
			else {
				temp = a;
				a = b;
				b = temp;
			}
			
			if (b < c);
			else {
				temp = b;
				b = c;
				c = temp;
			}
			
			if (a < b);
			else {
				temp = a;
				a = b;
				b = temp;
			}
			System.out.println(String.valueOf(a) + " " + String.valueOf(b) + " " + String.valueOf(c));
			
		} catch (IOException e) {
			// TODO 自動生成された catch ブロック
			e.printStackTrace();
		}

	}
} public class Main {

	public static void main(String[] args) {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		try {
			String str = br.readLine();
			String[] arr = str.split(" ");
			
			int a = Integer.parseInt(arr[0]);
			int b = Integer.parseInt(arr[1]);
			int c = Integer.parseInt(arr[2]);
			int temp;
			
			if (a < b);
			else {
				temp = a;
				a = b;
				b = temp;
			}
			
			if (b < c);
			else {
				temp = b;
				b = c;
				c = temp;
			}
			
			if (a < b);
			else {
				temp = a;
				a = b;
				b = temp;
			}
			System.out.println(String.valueOf(a) + " " + String.valueOf(b) + " " + String.valueOf(c));
			
		} catch (IOException e) {
			// TODO 自動生成された catch ブロック
			e.printStackTrace();
		}

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

public class Main {

	public static void main(String[] args) {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		try {
			String str = br.readLine();
			String[] arr = str.split(" ");
			
			int a = Integer.parseInt(arr[0]);
			int b = Integer.parseInt(arr[1]);
			int c = Integer.parseInt(arr[2]);
			int temp;
			
			if (a < b);
			else {
				temp = a;
				a = b;
				b = temp;
			}
			
			if (b < c);
			else {
				temp = b;
				b = c;
				c = temp;
			}
			
			if (a < b);
			else {
				temp = a;
				a = b;
				b = temp;
			}
			System.out.println(String.valueOf(a) + " " + String.valueOf(b) + " " + String.valueOf(c));
			
		} catch (IOException e) {
			// TODO 自動生成された catch ブロック
			e.printStackTrace();
		}

	}
}