import java.util.Scanner;
 class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt();
 
        if (a < b){
        	if(b<c){
        		System.out.printf("%d %d %d\n",a,b,c);

        	}
        	else if(c<a){
        		System.out.printf("%d %d %d\n",c,a,b);

        	}
        	else{
        		System.out.printf("%d %d %d\n",a,c,b);

        	}
        	    
        }
        else{
        	        	if(c<b){
        		System.out.printf("%d %d %d\n",c,b,a);

        	}
        	else if(c>a){
        		System.out.printf("%d %d %d\n",b,a,c);

        	}
        	else{
        		System.out.printf("%d %d %d\n",b,c,a);

        	}

        }
        }
    } import java.util.Scanner; Scanner java.util class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt();
 
        if (a < b){
        	if(b<c){
        		System.out.printf("%d %d %d\n",a,b,c);

        	}
        	else if(c<a){
        		System.out.printf("%d %d %d\n",c,a,b);

        	}
        	else{
        		System.out.printf("%d %d %d\n",a,c,b);

        	}
        	    
        }
        else{
        	        	if(c<b){
        		System.out.printf("%d %d %d\n",c,b,a);

        	}
        	else if(c>a){
        		System.out.printf("%d %d %d\n",b,a,c);

        	}
        	else{
        		System.out.printf("%d %d %d\n",b,c,a);

        	}

        }
        }
    } Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt();
 
        if (a < b){
        	if(b<c){
        		System.out.printf("%d %d %d\n",a,b,c);

        	}
        	else if(c<a){
        		System.out.printf("%d %d %d\n",c,a,b);

        	}
        	else{
        		System.out.printf("%d %d %d\n",a,c,b);

        	}
        	    
        }
        else{
        	        	if(c<b){
        		System.out.printf("%d %d %d\n",c,b,a);

        	}
        	else if(c>a){
        		System.out.printf("%d %d %d\n",b,a,c);

        	}
        	else{
        		System.out.printf("%d %d %d\n",b,c,a);

        	}

        }
        } main {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt();
 
        if (a < b){
        	if(b<c){
        		System.out.printf("%d %d %d\n",a,b,c);

        	}
        	else if(c<a){
        		System.out.printf("%d %d %d\n",c,a,b);

        	}
        	else{
        		System.out.printf("%d %d %d\n",a,c,b);

        	}
        	    
        }
        else{
        	        	if(c<b){
        		System.out.printf("%d %d %d\n",c,b,a);

        	}
        	else if(c>a){
        		System.out.printf("%d %d %d\n",b,a,c);

        	}
        	else{
        		System.out.printf("%d %d %d\n",b,c,a);

        	}

        }
        } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt() a sc.nextInt() sc.nextInt sc b = sc.nextInt() b sc.nextInt() sc.nextInt sc c = sc.nextInt(); c sc.nextInt() sc.nextInt sc if (a < b){
        	if(b<c){
        		System.out.printf("%d %d %d\n",a,b,c);

        	}
        	else if(c<a){
        		System.out.printf("%d %d %d\n",c,a,b);

        	}
        	else{
        		System.out.printf("%d %d %d\n",a,c,b);

        	}
        	    
        }
        else{
        	        	if(c<b){
        		System.out.printf("%d %d %d\n",c,b,a);

        	}
        	else if(c>a){
        		System.out.printf("%d %d %d\n",b,a,c);

        	}
        	else{
        		System.out.printf("%d %d %d\n",b,c,a);

        	}

        } a < b a b {
        	if(b<c){
        		System.out.printf("%d %d %d\n",a,b,c);

        	}
        	else if(c<a){
        		System.out.printf("%d %d %d\n",c,a,b);

        	}
        	else{
        		System.out.printf("%d %d %d\n",a,c,b);

        	}
        	    
        } if(b<c){
        		System.out.printf("%d %d %d\n",a,b,c);

        	}
        	else if(c<a){
        		System.out.printf("%d %d %d\n",c,a,b);

        	}
        	else{
        		System.out.printf("%d %d %d\n",a,c,b);

        	} b<c b c {
        		System.out.printf("%d %d %d\n",a,b,c);

        	} System.out.printf("%d %d %d\n",a,b,c) System.out.printf System.out System System.out "%d %d %d\n" a b c if(c<a){
        		System.out.printf("%d %d %d\n",c,a,b);

        	}
        	else{
        		System.out.printf("%d %d %d\n",a,c,b);

        	} c<a c a {
        		System.out.printf("%d %d %d\n",c,a,b);

        	} System.out.printf("%d %d %d\n",c,a,b) System.out.printf System.out System System.out "%d %d %d\n" c a b {
        		System.out.printf("%d %d %d\n",a,c,b);

        	} System.out.printf("%d %d %d\n",a,c,b) System.out.printf System.out System System.out "%d %d %d\n" a c b {
        	        	if(c<b){
        		System.out.printf("%d %d %d\n",c,b,a);

        	}
        	else if(c>a){
        		System.out.printf("%d %d %d\n",b,a,c);

        	}
        	else{
        		System.out.printf("%d %d %d\n",b,c,a);

        	}

        } if(c<b){
        		System.out.printf("%d %d %d\n",c,b,a);

        	}
        	else if(c>a){
        		System.out.printf("%d %d %d\n",b,a,c);

        	}
        	else{
        		System.out.printf("%d %d %d\n",b,c,a);

        	} c<b c b {
        		System.out.printf("%d %d %d\n",c,b,a);

        	} System.out.printf("%d %d %d\n",c,b,a) System.out.printf System.out System System.out "%d %d %d\n" c b a if(c>a){
        		System.out.printf("%d %d %d\n",b,a,c);

        	}
        	else{
        		System.out.printf("%d %d %d\n",b,c,a);

        	} c>a c a {
        		System.out.printf("%d %d %d\n",b,a,c);

        	} System.out.printf("%d %d %d\n",b,a,c) System.out.printf System.out System System.out "%d %d %d\n" b a c {
        		System.out.printf("%d %d %d\n",b,c,a);

        	} System.out.printf("%d %d %d\n",b,c,a) System.out.printf System.out System System.out "%d %d %d\n" b c a String[] args args
import java.util.Scanner;
 class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt();
 
        if (a < b){
        	if(b<c){
        		System.out.printf("%d %d %d\n",a,b,c);

        	}
        	else if(c<a){
        		System.out.printf("%d %d %d\n",c,a,b);

        	}
        	else{
        		System.out.printf("%d %d %d\n",a,c,b);

        	}
        	    
        }
        else{
        	        	if(c<b){
        		System.out.printf("%d %d %d\n",c,b,a);

        	}
        	else if(c>a){
        		System.out.printf("%d %d %d\n",b,a,c);

        	}
        	else{
        		System.out.printf("%d %d %d\n",b,c,a);

        	}

        }
        }
    }