import java.util.Scanner;

class Main{
	public static void main(String args[]){
		Scanner in = new Scanner(System.in);
		int[] number = new int[3];
		for(int i=0; i<3; i++){
				number[i] = in.nextInt();	
		}

		number = bubbleSort(number);
		System.out.println(number[0]+" "+number[1]+" "+number[2]);
	}

	public static int[] bubbleSort(int[] number){
		for(int i=0; i<number.length-1; i++){
			for(int j=0; j<number.length-1; j++){
				if(number[j] > number[j+1]){
					int temp = number[j];
					number[j] = number[j+1];
					number[j+1] = temp;
				}
			}
		}
		return number;
	}
} import java.util.Scanner; Scanner java.util class Main{
	public static void main(String args[]){
		Scanner in = new Scanner(System.in);
		int[] number = new int[3];
		for(int i=0; i<3; i++){
				number[i] = in.nextInt();	
		}

		number = bubbleSort(number);
		System.out.println(number[0]+" "+number[1]+" "+number[2]);
	}

	public static int[] bubbleSort(int[] number){
		for(int i=0; i<number.length-1; i++){
			for(int j=0; j<number.length-1; j++){
				if(number[j] > number[j+1]){
					int temp = number[j];
					number[j] = number[j+1];
					number[j+1] = temp;
				}
			}
		}
		return number;
	}
} Main public static void main(String args[]){
		Scanner in = new Scanner(System.in);
		int[] number = new int[3];
		for(int i=0; i<3; i++){
				number[i] = in.nextInt();	
		}

		number = bubbleSort(number);
		System.out.println(number[0]+" "+number[1]+" "+number[2]);
	} main {
		Scanner in = new Scanner(System.in);
		int[] number = new int[3];
		for(int i=0; i<3; i++){
				number[i] = in.nextInt();	
		}

		number = bubbleSort(number);
		System.out.println(number[0]+" "+number[1]+" "+number[2]);
	} Scanner in = new Scanner(System.in); in new Scanner(System.in) int[] number = new int[3]; number new int[3] 3 for(int i=0; i<3; i++){
				number[i] = in.nextInt();	
		} int i=0; int i=0; i 0 i<3 i 3 i++ i++ i {
				number[i] = in.nextInt();	
		} {
				number[i] = in.nextInt();	
		} number[i] = in.nextInt() number[i] number i in.nextInt() in.nextInt in number = bubbleSort(number) number bubbleSort(number) bubbleSort number System.out.println(number[0]+" "+number[1]+" "+number[2]) System.out.println System.out System System.out number[0]+" "+number[1]+" "+number[2] " " number[1] number[0]+" "+number[1]+" "+number[2] number[0] number 0 " " number[1] number 1 " " number[2] number 2 String args[] args public static int[] bubbleSort(int[] number){
		for(int i=0; i<number.length-1; i++){
			for(int j=0; j<number.length-1; j++){
				if(number[j] > number[j+1]){
					int temp = number[j];
					number[j] = number[j+1];
					number[j+1] = temp;
				}
			}
		}
		return number;
	} bubbleSort {
		for(int i=0; i<number.length-1; i++){
			for(int j=0; j<number.length-1; j++){
				if(number[j] > number[j+1]){
					int temp = number[j];
					number[j] = number[j+1];
					number[j+1] = temp;
				}
			}
		}
		return number;
	} for(int i=0; i<number.length-1; i++){
			for(int j=0; j<number.length-1; j++){
				if(number[j] > number[j+1]){
					int temp = number[j];
					number[j] = number[j+1];
					number[j+1] = temp;
				}
			}
		} int i=0; int i=0; i 0 i<number.length-1 i number.length-1 number.length number number.length 1 i++ i++ i {
			for(int j=0; j<number.length-1; j++){
				if(number[j] > number[j+1]){
					int temp = number[j];
					number[j] = number[j+1];
					number[j+1] = temp;
				}
			}
		} {
			for(int j=0; j<number.length-1; j++){
				if(number[j] > number[j+1]){
					int temp = number[j];
					number[j] = number[j+1];
					number[j+1] = temp;
				}
			}
		} for(int j=0; j<number.length-1; j++){
				if(number[j] > number[j+1]){
					int temp = number[j];
					number[j] = number[j+1];
					number[j+1] = temp;
				}
			} int j=0; int j=0; j 0 j<number.length-1 j number.length-1 number.length number number.length 1 j++ j++ j {
				if(number[j] > number[j+1]){
					int temp = number[j];
					number[j] = number[j+1];
					number[j+1] = temp;
				}
			} {
				if(number[j] > number[j+1]){
					int temp = number[j];
					number[j] = number[j+1];
					number[j+1] = temp;
				}
			} if(number[j] > number[j+1]){
					int temp = number[j];
					number[j] = number[j+1];
					number[j+1] = temp;
				} number[j] > number[j+1] number[j] number j number[j+1] number j+1 j 1 {
					int temp = number[j];
					number[j] = number[j+1];
					number[j+1] = temp;
				} int temp = number[j]; temp number[j] number j number[j] = number[j+1] number[j] number j number[j+1] number j+1 j 1 number[j+1] = temp number[j+1] number j+1 j 1 temp return number; number int[] number number
import java.util.Scanner;

class Main{
	public static void main(String args[]){
		Scanner in = new Scanner(System.in);
		int[] number = new int[3];
		for(int i=0; i<3; i++){
				number[i] = in.nextInt();	
		}

		number = bubbleSort(number);
		System.out.println(number[0]+" "+number[1]+" "+number[2]);
	}

	public static int[] bubbleSort(int[] number){
		for(int i=0; i<number.length-1; i++){
			for(int j=0; j<number.length-1; j++){
				if(number[j] > number[j+1]){
					int temp = number[j];
					number[j] = number[j+1];
					number[j+1] = temp;
				}
			}
		}
		return number;
	}
}