import java.util.Scanner;

public class Main { 
	public static void main(String[] args){
		String str;
                int[] arr = new int[3];
                int i, j, temp;
 
                // 3????????°??????????????????
                Scanner scan = new Scanner(System.in);
                str = scan.next();
                arr[0] = Integer.parseInt(str);
                str = scan.next();
                arr[1] = Integer.parseInt(str);
                str = scan.next();
                arr[2] = Integer.parseInt(str);

                // selection sort
                for(i=1; i<3; i++){
                        temp = arr[i];
                        if(arr[i-1] > temp){
                                j = i;
                                do{
                                        arr[j] = arr[j-1];
                                        --j;
                                }while(j > 0 && arr[j-1] > temp);
                                arr[j] = temp;
                        }
                }

                System.out.println(arr[0] + " " + arr[1] + " " + arr[2]);
	}
} import java.util.Scanner; Scanner java.util public class Main { 
	public static void main(String[] args){
		String str;
                int[] arr = new int[3];
                int i, j, temp;
 
                // 3????????°??????????????????
                Scanner scan = new Scanner(System.in);
                str = scan.next();
                arr[0] = Integer.parseInt(str);
                str = scan.next();
                arr[1] = Integer.parseInt(str);
                str = scan.next();
                arr[2] = Integer.parseInt(str);

                // selection sort
                for(i=1; i<3; i++){
                        temp = arr[i];
                        if(arr[i-1] > temp){
                                j = i;
                                do{
                                        arr[j] = arr[j-1];
                                        --j;
                                }while(j > 0 && arr[j-1] > temp);
                                arr[j] = temp;
                        }
                }

                System.out.println(arr[0] + " " + arr[1] + " " + arr[2]);
	}
} Main public static void main(String[] args){
		String str;
                int[] arr = new int[3];
                int i, j, temp;
 
                // 3????????°??????????????????
                Scanner scan = new Scanner(System.in);
                str = scan.next();
                arr[0] = Integer.parseInt(str);
                str = scan.next();
                arr[1] = Integer.parseInt(str);
                str = scan.next();
                arr[2] = Integer.parseInt(str);

                // selection sort
                for(i=1; i<3; i++){
                        temp = arr[i];
                        if(arr[i-1] > temp){
                                j = i;
                                do{
                                        arr[j] = arr[j-1];
                                        --j;
                                }while(j > 0 && arr[j-1] > temp);
                                arr[j] = temp;
                        }
                }

                System.out.println(arr[0] + " " + arr[1] + " " + arr[2]);
	} main {
		String str;
                int[] arr = new int[3];
                int i, j, temp;
 
                // 3????????°??????????????????
                Scanner scan = new Scanner(System.in);
                str = scan.next();
                arr[0] = Integer.parseInt(str);
                str = scan.next();
                arr[1] = Integer.parseInt(str);
                str = scan.next();
                arr[2] = Integer.parseInt(str);

                // selection sort
                for(i=1; i<3; i++){
                        temp = arr[i];
                        if(arr[i-1] > temp){
                                j = i;
                                do{
                                        arr[j] = arr[j-1];
                                        --j;
                                }while(j > 0 && arr[j-1] > temp);
                                arr[j] = temp;
                        }
                }

                System.out.println(arr[0] + " " + arr[1] + " " + arr[2]);
	} String str; str int[] arr = new int[3]; arr new int[3] 3 int i i j j temp; temp Scanner scan = new Scanner(System.in); scan new Scanner(System.in) str = scan.next() str scan.next() scan.next scan arr[0] = Integer.parseInt(str) arr[0] arr 0 Integer.parseInt(str) Integer.parseInt Integer str str = scan.next() str scan.next() scan.next scan arr[1] = Integer.parseInt(str) arr[1] arr 1 Integer.parseInt(str) Integer.parseInt Integer str str = scan.next() str scan.next() scan.next scan arr[2] = Integer.parseInt(str) arr[2] arr 2 Integer.parseInt(str) Integer.parseInt Integer str for(i=1; i<3; i++){
                        temp = arr[i];
                        if(arr[i-1] > temp){
                                j = i;
                                do{
                                        arr[j] = arr[j-1];
                                        --j;
                                }while(j > 0 && arr[j-1] > temp);
                                arr[j] = temp;
                        }
                } i=1; i=1 i 1 i<3 i 3 i++ i++ i {
                        temp = arr[i];
                        if(arr[i-1] > temp){
                                j = i;
                                do{
                                        arr[j] = arr[j-1];
                                        --j;
                                }while(j > 0 && arr[j-1] > temp);
                                arr[j] = temp;
                        }
                } {
                        temp = arr[i];
                        if(arr[i-1] > temp){
                                j = i;
                                do{
                                        arr[j] = arr[j-1];
                                        --j;
                                }while(j > 0 && arr[j-1] > temp);
                                arr[j] = temp;
                        }
                } temp = arr[i] temp arr[i] arr i if(arr[i-1] > temp){
                                j = i;
                                do{
                                        arr[j] = arr[j-1];
                                        --j;
                                }while(j > 0 && arr[j-1] > temp);
                                arr[j] = temp;
                        } arr[i-1] > temp arr[i-1] arr i-1 i 1 temp {
                                j = i;
                                do{
                                        arr[j] = arr[j-1];
                                        --j;
                                }while(j > 0 && arr[j-1] > temp);
                                arr[j] = temp;
                        } j = i j i do{
                                        arr[j] = arr[j-1];
                                        --j;
                                }while(j > 0 && arr[j-1] > temp); j > 0 && arr[j-1] > temp j > 0 j 0 arr[j-1] > temp arr[j-1] arr j-1 j 1 temp {
                                        arr[j] = arr[j-1];
                                        --j;
                                } arr[j] = arr[j-1] arr[j] arr j arr[j-1] arr j-1 j 1 --j j arr[j] = temp arr[j] arr j temp System.out.println(arr[0] + " " + arr[1] + " " + arr[2]) System.out.println System.out System System.out arr[0] + " " + arr[1] + " " + arr[2] " " arr[1] arr[0] + " " + arr[1] + " " + arr[2] arr[0] arr 0 " " arr[1] arr 1 " " arr[2] arr 2 String[] args args public class Main { 
	public static void main(String[] args){
		String str;
                int[] arr = new int[3];
                int i, j, temp;
 
                // 3????????°??????????????????
                Scanner scan = new Scanner(System.in);
                str = scan.next();
                arr[0] = Integer.parseInt(str);
                str = scan.next();
                arr[1] = Integer.parseInt(str);
                str = scan.next();
                arr[2] = Integer.parseInt(str);

                // selection sort
                for(i=1; i<3; i++){
                        temp = arr[i];
                        if(arr[i-1] > temp){
                                j = i;
                                do{
                                        arr[j] = arr[j-1];
                                        --j;
                                }while(j > 0 && arr[j-1] > temp);
                                arr[j] = temp;
                        }
                }

                System.out.println(arr[0] + " " + arr[1] + " " + arr[2]);
	}
} public class Main { 
	public static void main(String[] args){
		String str;
                int[] arr = new int[3];
                int i, j, temp;
 
                // 3????????°??????????????????
                Scanner scan = new Scanner(System.in);
                str = scan.next();
                arr[0] = Integer.parseInt(str);
                str = scan.next();
                arr[1] = Integer.parseInt(str);
                str = scan.next();
                arr[2] = Integer.parseInt(str);

                // selection sort
                for(i=1; i<3; i++){
                        temp = arr[i];
                        if(arr[i-1] > temp){
                                j = i;
                                do{
                                        arr[j] = arr[j-1];
                                        --j;
                                }while(j > 0 && arr[j-1] > temp);
                                arr[j] = temp;
                        }
                }

                System.out.println(arr[0] + " " + arr[1] + " " + arr[2]);
	}
} Main
import java.util.Scanner;

public class Main { 
	public static void main(String[] args){
		String str;
                int[] arr = new int[3];
                int i, j, temp;
 
                // 3????????°??????????????????
                Scanner scan = new Scanner(System.in);
                str = scan.next();
                arr[0] = Integer.parseInt(str);
                str = scan.next();
                arr[1] = Integer.parseInt(str);
                str = scan.next();
                arr[2] = Integer.parseInt(str);

                // selection sort
                for(i=1; i<3; i++){
                        temp = arr[i];
                        if(arr[i-1] > temp){
                                j = i;
                                do{
                                        arr[j] = arr[j-1];
                                        --j;
                                }while(j > 0 && arr[j-1] > temp);
                                arr[j] = temp;
                        }
                }

                System.out.println(arr[0] + " " + arr[1] + " " + arr[2]);
	}
}