import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int[] n = new int[3];
		for (int i = 0; i < n.length; i++) {
			n[i] = Integer.parseInt(sc.next());
		}

		int flg = 1;
		while (flg == 1) {
			flg = 0;
			for (int i = 0; i < n.length - 1; i++) {
				if(n[i] > n[i +1]) {
					int tmp = n[i];
					n[i] = n[i + 1];
					n[i + 1] = tmp;
					flg = 1;
				}
			}
		}

		for (int i = 0; i < n.length; i++) {
			System.out.print(n[i]);
			if (i < n.length - 1) {
				System.out.print(" ");
			}
		}
		System.out.println();
		sc.close();
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int[] n = new int[3];
		for (int i = 0; i < n.length; i++) {
			n[i] = Integer.parseInt(sc.next());
		}

		int flg = 1;
		while (flg == 1) {
			flg = 0;
			for (int i = 0; i < n.length - 1; i++) {
				if(n[i] > n[i +1]) {
					int tmp = n[i];
					n[i] = n[i + 1];
					n[i + 1] = tmp;
					flg = 1;
				}
			}
		}

		for (int i = 0; i < n.length; i++) {
			System.out.print(n[i]);
			if (i < n.length - 1) {
				System.out.print(" ");
			}
		}
		System.out.println();
		sc.close();
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int[] n = new int[3];
		for (int i = 0; i < n.length; i++) {
			n[i] = Integer.parseInt(sc.next());
		}

		int flg = 1;
		while (flg == 1) {
			flg = 0;
			for (int i = 0; i < n.length - 1; i++) {
				if(n[i] > n[i +1]) {
					int tmp = n[i];
					n[i] = n[i + 1];
					n[i + 1] = tmp;
					flg = 1;
				}
			}
		}

		for (int i = 0; i < n.length; i++) {
			System.out.print(n[i]);
			if (i < n.length - 1) {
				System.out.print(" ");
			}
		}
		System.out.println();
		sc.close();
	} main {
		Scanner sc = new Scanner(System.in);
		int[] n = new int[3];
		for (int i = 0; i < n.length; i++) {
			n[i] = Integer.parseInt(sc.next());
		}

		int flg = 1;
		while (flg == 1) {
			flg = 0;
			for (int i = 0; i < n.length - 1; i++) {
				if(n[i] > n[i +1]) {
					int tmp = n[i];
					n[i] = n[i + 1];
					n[i + 1] = tmp;
					flg = 1;
				}
			}
		}

		for (int i = 0; i < n.length; i++) {
			System.out.print(n[i]);
			if (i < n.length - 1) {
				System.out.print(" ");
			}
		}
		System.out.println();
		sc.close();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] n = new int[3]; n new int[3] 3 for (int i = 0; i < n.length; i++) {
			n[i] = Integer.parseInt(sc.next());
		} int i = 0; int i = 0; i 0 i < n.length i n.length n n.length i++ i++ i {
			n[i] = Integer.parseInt(sc.next());
		} {
			n[i] = Integer.parseInt(sc.next());
		} n[i] = Integer.parseInt(sc.next()) n[i] n i Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int flg = 1; flg 1 while (flg == 1) {
			flg = 0;
			for (int i = 0; i < n.length - 1; i++) {
				if(n[i] > n[i +1]) {
					int tmp = n[i];
					n[i] = n[i + 1];
					n[i + 1] = tmp;
					flg = 1;
				}
			}
		} flg == 1 flg 1 {
			flg = 0;
			for (int i = 0; i < n.length - 1; i++) {
				if(n[i] > n[i +1]) {
					int tmp = n[i];
					n[i] = n[i + 1];
					n[i + 1] = tmp;
					flg = 1;
				}
			}
		} flg = 0 flg 0 for (int i = 0; i < n.length - 1; i++) {
				if(n[i] > n[i +1]) {
					int tmp = n[i];
					n[i] = n[i + 1];
					n[i + 1] = tmp;
					flg = 1;
				}
			} int i = 0; int i = 0; i 0 i < n.length - 1 i n.length - 1 n.length n n.length 1 i++ i++ i {
				if(n[i] > n[i +1]) {
					int tmp = n[i];
					n[i] = n[i + 1];
					n[i + 1] = tmp;
					flg = 1;
				}
			} {
				if(n[i] > n[i +1]) {
					int tmp = n[i];
					n[i] = n[i + 1];
					n[i + 1] = tmp;
					flg = 1;
				}
			} if(n[i] > n[i +1]) {
					int tmp = n[i];
					n[i] = n[i + 1];
					n[i + 1] = tmp;
					flg = 1;
				} n[i] > n[i +1] n[i] n i n[i +1] n i +1 i 1 {
					int tmp = n[i];
					n[i] = n[i + 1];
					n[i + 1] = tmp;
					flg = 1;
				} int tmp = n[i]; tmp n[i] n i n[i] = n[i + 1] n[i] n i n[i + 1] n i + 1 i 1 n[i + 1] = tmp n[i + 1] n i + 1 i 1 tmp flg = 1 flg 1 for (int i = 0; i < n.length; i++) {
			System.out.print(n[i]);
			if (i < n.length - 1) {
				System.out.print(" ");
			}
		} int i = 0; int i = 0; i 0 i < n.length i n.length n n.length i++ i++ i {
			System.out.print(n[i]);
			if (i < n.length - 1) {
				System.out.print(" ");
			}
		} {
			System.out.print(n[i]);
			if (i < n.length - 1) {
				System.out.print(" ");
			}
		} System.out.print(n[i]) System.out.print System.out System System.out n[i] n i if (i < n.length - 1) {
				System.out.print(" ");
			} i < n.length - 1 i n.length - 1 n.length n n.length 1 {
				System.out.print(" ");
			} System.out.print(" ") System.out.print System.out System System.out " " System.out.println() System.out.println System.out System System.out sc.close() sc.close sc String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int[] n = new int[3];
		for (int i = 0; i < n.length; i++) {
			n[i] = Integer.parseInt(sc.next());
		}

		int flg = 1;
		while (flg == 1) {
			flg = 0;
			for (int i = 0; i < n.length - 1; i++) {
				if(n[i] > n[i +1]) {
					int tmp = n[i];
					n[i] = n[i + 1];
					n[i + 1] = tmp;
					flg = 1;
				}
			}
		}

		for (int i = 0; i < n.length; i++) {
			System.out.print(n[i]);
			if (i < n.length - 1) {
				System.out.print(" ");
			}
		}
		System.out.println();
		sc.close();
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int[] n = new int[3];
		for (int i = 0; i < n.length; i++) {
			n[i] = Integer.parseInt(sc.next());
		}

		int flg = 1;
		while (flg == 1) {
			flg = 0;
			for (int i = 0; i < n.length - 1; i++) {
				if(n[i] > n[i +1]) {
					int tmp = n[i];
					n[i] = n[i + 1];
					n[i + 1] = tmp;
					flg = 1;
				}
			}
		}

		for (int i = 0; i < n.length; i++) {
			System.out.print(n[i]);
			if (i < n.length - 1) {
				System.out.print(" ");
			}
		}
		System.out.println();
		sc.close();
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int[] n = new int[3];
		for (int i = 0; i < n.length; i++) {
			n[i] = Integer.parseInt(sc.next());
		}

		int flg = 1;
		while (flg == 1) {
			flg = 0;
			for (int i = 0; i < n.length - 1; i++) {
				if(n[i] > n[i +1]) {
					int tmp = n[i];
					n[i] = n[i + 1];
					n[i + 1] = tmp;
					flg = 1;
				}
			}
		}

		for (int i = 0; i < n.length; i++) {
			System.out.print(n[i]);
			if (i < n.length - 1) {
				System.out.print(" ");
			}
		}
		System.out.println();
		sc.close();
	}
}