import java.util.Scanner;
import java.util.ArrayList;

public class Main {

	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		int[] list = new int[3];
		list[0] = sc.nextInt();
		list[1] = sc.nextInt();
		list[2] = sc.nextInt();
		
		change(list);
		for (int i = 0; i < list.length; i++){
			System.out.print(list[i]);
			if (i == 2){
				continue;
			}
			System.out.print(" ");
		}
		System.out.println();
		
	}
	
	public static void change(int[] li){
		for (int j = 0; j < li.length - 1; j++){
			for (int i = 0; i < li.length - j - 1; i++){
				if(li[i] > li[i+1]){
					int tmp = li[i];
					li[i] = li[i+1];
					li[i+1] = tmp;
				}
			}
		}
	}
} import java.util.Scanner; Scanner java.util import java.util.ArrayList; ArrayList java.util public class Main {

	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		int[] list = new int[3];
		list[0] = sc.nextInt();
		list[1] = sc.nextInt();
		list[2] = sc.nextInt();
		
		change(list);
		for (int i = 0; i < list.length; i++){
			System.out.print(list[i]);
			if (i == 2){
				continue;
			}
			System.out.print(" ");
		}
		System.out.println();
		
	}
	
	public static void change(int[] li){
		for (int j = 0; j < li.length - 1; j++){
			for (int i = 0; i < li.length - j - 1; i++){
				if(li[i] > li[i+1]){
					int tmp = li[i];
					li[i] = li[i+1];
					li[i+1] = tmp;
				}
			}
		}
	}
} Main public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		int[] list = new int[3];
		list[0] = sc.nextInt();
		list[1] = sc.nextInt();
		list[2] = sc.nextInt();
		
		change(list);
		for (int i = 0; i < list.length; i++){
			System.out.print(list[i]);
			if (i == 2){
				continue;
			}
			System.out.print(" ");
		}
		System.out.println();
		
	} main {
		
		Scanner sc = new Scanner(System.in);
		int[] list = new int[3];
		list[0] = sc.nextInt();
		list[1] = sc.nextInt();
		list[2] = sc.nextInt();
		
		change(list);
		for (int i = 0; i < list.length; i++){
			System.out.print(list[i]);
			if (i == 2){
				continue;
			}
			System.out.print(" ");
		}
		System.out.println();
		
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] list = new int[3]; list new int[3] 3 list[0] = sc.nextInt() list[0] list 0 sc.nextInt() sc.nextInt sc list[1] = sc.nextInt() list[1] list 1 sc.nextInt() sc.nextInt sc list[2] = sc.nextInt() list[2] list 2 sc.nextInt() sc.nextInt sc change(list) change list for (int i = 0; i < list.length; i++){
			System.out.print(list[i]);
			if (i == 2){
				continue;
			}
			System.out.print(" ");
		} int i = 0; int i = 0; i 0 i < list.length i list.length list list.length i++ i++ i {
			System.out.print(list[i]);
			if (i == 2){
				continue;
			}
			System.out.print(" ");
		} {
			System.out.print(list[i]);
			if (i == 2){
				continue;
			}
			System.out.print(" ");
		} System.out.print(list[i]) System.out.print System.out System System.out list[i] list i if (i == 2){
				continue;
			} i == 2 i 2 {
				continue;
			} continue; System.out.print(" ") System.out.print System.out System System.out " " System.out.println() System.out.println System.out System System.out String[] args args public static void change(int[] li){
		for (int j = 0; j < li.length - 1; j++){
			for (int i = 0; i < li.length - j - 1; i++){
				if(li[i] > li[i+1]){
					int tmp = li[i];
					li[i] = li[i+1];
					li[i+1] = tmp;
				}
			}
		}
	} change {
		for (int j = 0; j < li.length - 1; j++){
			for (int i = 0; i < li.length - j - 1; i++){
				if(li[i] > li[i+1]){
					int tmp = li[i];
					li[i] = li[i+1];
					li[i+1] = tmp;
				}
			}
		}
	} for (int j = 0; j < li.length - 1; j++){
			for (int i = 0; i < li.length - j - 1; i++){
				if(li[i] > li[i+1]){
					int tmp = li[i];
					li[i] = li[i+1];
					li[i+1] = tmp;
				}
			}
		} int j = 0; int j = 0; j 0 j < li.length - 1 j li.length - 1 li.length li li.length 1 j++ j++ j {
			for (int i = 0; i < li.length - j - 1; i++){
				if(li[i] > li[i+1]){
					int tmp = li[i];
					li[i] = li[i+1];
					li[i+1] = tmp;
				}
			}
		} {
			for (int i = 0; i < li.length - j - 1; i++){
				if(li[i] > li[i+1]){
					int tmp = li[i];
					li[i] = li[i+1];
					li[i+1] = tmp;
				}
			}
		} for (int i = 0; i < li.length - j - 1; i++){
				if(li[i] > li[i+1]){
					int tmp = li[i];
					li[i] = li[i+1];
					li[i+1] = tmp;
				}
			} int i = 0; int i = 0; i 0 i < li.length - j - 1 i li.length - j - 1 li.length - j - 1 li.length li li.length j 1 i++ i++ i {
				if(li[i] > li[i+1]){
					int tmp = li[i];
					li[i] = li[i+1];
					li[i+1] = tmp;
				}
			} {
				if(li[i] > li[i+1]){
					int tmp = li[i];
					li[i] = li[i+1];
					li[i+1] = tmp;
				}
			} if(li[i] > li[i+1]){
					int tmp = li[i];
					li[i] = li[i+1];
					li[i+1] = tmp;
				} li[i] > li[i+1] li[i] li i li[i+1] li i+1 i 1 {
					int tmp = li[i];
					li[i] = li[i+1];
					li[i+1] = tmp;
				} int tmp = li[i]; tmp li[i] li i li[i] = li[i+1] li[i] li i li[i+1] li i+1 i 1 li[i+1] = tmp li[i+1] li i+1 i 1 tmp int[] li li public class Main {

	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		int[] list = new int[3];
		list[0] = sc.nextInt();
		list[1] = sc.nextInt();
		list[2] = sc.nextInt();
		
		change(list);
		for (int i = 0; i < list.length; i++){
			System.out.print(list[i]);
			if (i == 2){
				continue;
			}
			System.out.print(" ");
		}
		System.out.println();
		
	}
	
	public static void change(int[] li){
		for (int j = 0; j < li.length - 1; j++){
			for (int i = 0; i < li.length - j - 1; i++){
				if(li[i] > li[i+1]){
					int tmp = li[i];
					li[i] = li[i+1];
					li[i+1] = tmp;
				}
			}
		}
	}
} public class Main {

	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		int[] list = new int[3];
		list[0] = sc.nextInt();
		list[1] = sc.nextInt();
		list[2] = sc.nextInt();
		
		change(list);
		for (int i = 0; i < list.length; i++){
			System.out.print(list[i]);
			if (i == 2){
				continue;
			}
			System.out.print(" ");
		}
		System.out.println();
		
	}
	
	public static void change(int[] li){
		for (int j = 0; j < li.length - 1; j++){
			for (int i = 0; i < li.length - j - 1; i++){
				if(li[i] > li[i+1]){
					int tmp = li[i];
					li[i] = li[i+1];
					li[i+1] = tmp;
				}
			}
		}
	}
} Main
import java.util.Scanner;
import java.util.ArrayList;

public class Main {

	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		int[] list = new int[3];
		list[0] = sc.nextInt();
		list[1] = sc.nextInt();
		list[2] = sc.nextInt();
		
		change(list);
		for (int i = 0; i < list.length; i++){
			System.out.print(list[i]);
			if (i == 2){
				continue;
			}
			System.out.print(" ");
		}
		System.out.println();
		
	}
	
	public static void change(int[] li){
		for (int j = 0; j < li.length - 1; j++){
			for (int i = 0; i < li.length - j - 1; i++){
				if(li[i] > li[i+1]){
					int tmp = li[i];
					li[i] = li[i+1];
					li[i+1] = tmp;
				}
			}
		}
	}
}