import java.util.Scanner;


class Main {
	public static void main(String args[]) {
		int i[] = new int[3];
	    Scanner sc = new Scanner(System.in);
	    String  s1 = sc.next();
	    i[0] = Integer.parseInt(s1);
	    String  s2 = sc.next();
	    i[1] = Integer.parseInt(s2);
	    String  s3 = sc.next();
	    i[2] = Integer.parseInt(s3);
	    int w = 0;
	    for( int j = 0; j < i.length; j++ ){
	        for( int k = 0; k < i.length - 1; k++ ){
	            if( i[k] > i[(k + 1)] ){
	        	    w = i[k];
	        	    i[k] = i[(k + 1)];
	        	    i[(k + 1)] = w;
	            }
    	    }
	    }
	    System.out.println( i[0] + " " + i[1] + " " + i[2] );
	}

} import java.util.Scanner; Scanner java.util class Main {
	public static void main(String args[]) {
		int i[] = new int[3];
	    Scanner sc = new Scanner(System.in);
	    String  s1 = sc.next();
	    i[0] = Integer.parseInt(s1);
	    String  s2 = sc.next();
	    i[1] = Integer.parseInt(s2);
	    String  s3 = sc.next();
	    i[2] = Integer.parseInt(s3);
	    int w = 0;
	    for( int j = 0; j < i.length; j++ ){
	        for( int k = 0; k < i.length - 1; k++ ){
	            if( i[k] > i[(k + 1)] ){
	        	    w = i[k];
	        	    i[k] = i[(k + 1)];
	        	    i[(k + 1)] = w;
	            }
    	    }
	    }
	    System.out.println( i[0] + " " + i[1] + " " + i[2] );
	}

} Main public static void main(String args[]) {
		int i[] = new int[3];
	    Scanner sc = new Scanner(System.in);
	    String  s1 = sc.next();
	    i[0] = Integer.parseInt(s1);
	    String  s2 = sc.next();
	    i[1] = Integer.parseInt(s2);
	    String  s3 = sc.next();
	    i[2] = Integer.parseInt(s3);
	    int w = 0;
	    for( int j = 0; j < i.length; j++ ){
	        for( int k = 0; k < i.length - 1; k++ ){
	            if( i[k] > i[(k + 1)] ){
	        	    w = i[k];
	        	    i[k] = i[(k + 1)];
	        	    i[(k + 1)] = w;
	            }
    	    }
	    }
	    System.out.println( i[0] + " " + i[1] + " " + i[2] );
	} main {
		int i[] = new int[3];
	    Scanner sc = new Scanner(System.in);
	    String  s1 = sc.next();
	    i[0] = Integer.parseInt(s1);
	    String  s2 = sc.next();
	    i[1] = Integer.parseInt(s2);
	    String  s3 = sc.next();
	    i[2] = Integer.parseInt(s3);
	    int w = 0;
	    for( int j = 0; j < i.length; j++ ){
	        for( int k = 0; k < i.length - 1; k++ ){
	            if( i[k] > i[(k + 1)] ){
	        	    w = i[k];
	        	    i[k] = i[(k + 1)];
	        	    i[(k + 1)] = w;
	            }
    	    }
	    }
	    System.out.println( i[0] + " " + i[1] + " " + i[2] );
	} int i[] = new int[3]; i new int[3] 3 Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String  s1 = sc.next(); s1 sc.next() sc.next sc i[0] = Integer.parseInt(s1) i[0] i 0 Integer.parseInt(s1) Integer.parseInt Integer s1 String  s2 = sc.next(); s2 sc.next() sc.next sc i[1] = Integer.parseInt(s2) i[1] i 1 Integer.parseInt(s2) Integer.parseInt Integer s2 String  s3 = sc.next(); s3 sc.next() sc.next sc i[2] = Integer.parseInt(s3) i[2] i 2 Integer.parseInt(s3) Integer.parseInt Integer s3 int w = 0; w 0 for( int j = 0; j < i.length; j++ ){
	        for( int k = 0; k < i.length - 1; k++ ){
	            if( i[k] > i[(k + 1)] ){
	        	    w = i[k];
	        	    i[k] = i[(k + 1)];
	        	    i[(k + 1)] = w;
	            }
    	    }
	    } int j = 0; int j = 0; j 0 j < i.length j i.length i i.length j++ j++ j {
	        for( int k = 0; k < i.length - 1; k++ ){
	            if( i[k] > i[(k + 1)] ){
	        	    w = i[k];
	        	    i[k] = i[(k + 1)];
	        	    i[(k + 1)] = w;
	            }
    	    }
	    } {
	        for( int k = 0; k < i.length - 1; k++ ){
	            if( i[k] > i[(k + 1)] ){
	        	    w = i[k];
	        	    i[k] = i[(k + 1)];
	        	    i[(k + 1)] = w;
	            }
    	    }
	    } for( int k = 0; k < i.length - 1; k++ ){
	            if( i[k] > i[(k + 1)] ){
	        	    w = i[k];
	        	    i[k] = i[(k + 1)];
	        	    i[(k + 1)] = w;
	            }
    	    } int k = 0; int k = 0; k 0 k < i.length - 1 k i.length - 1 i.length i i.length 1 k++ k++ k {
	            if( i[k] > i[(k + 1)] ){
	        	    w = i[k];
	        	    i[k] = i[(k + 1)];
	        	    i[(k + 1)] = w;
	            }
    	    } {
	            if( i[k] > i[(k + 1)] ){
	        	    w = i[k];
	        	    i[k] = i[(k + 1)];
	        	    i[(k + 1)] = w;
	            }
    	    } if( i[k] > i[(k + 1)] ){
	        	    w = i[k];
	        	    i[k] = i[(k + 1)];
	        	    i[(k + 1)] = w;
	            } i[k] > i[(k + 1)] i[k] i k i[(k + 1)] i (k + 1) k 1 {
	        	    w = i[k];
	        	    i[k] = i[(k + 1)];
	        	    i[(k + 1)] = w;
	            } w = i[k] w i[k] i k i[k] = i[(k + 1)] i[k] i k i[(k + 1)] i (k + 1) k 1 i[(k + 1)] = w i[(k + 1)] i (k + 1) k 1 w System.out.println( i[0] + " " + i[1] + " " + i[2] ) System.out.println System.out System System.out i[0] + " " + i[1] + " " + i[2] " " i[1] i[0] + " " + i[1] + " " + i[2] i[0] i 0 " " i[1] i 1 " " i[2] i 2 String args[] args
import java.util.Scanner;


class Main {
	public static void main(String args[]) {
		int i[] = new int[3];
	    Scanner sc = new Scanner(System.in);
	    String  s1 = sc.next();
	    i[0] = Integer.parseInt(s1);
	    String  s2 = sc.next();
	    i[1] = Integer.parseInt(s2);
	    String  s3 = sc.next();
	    i[2] = Integer.parseInt(s3);
	    int w = 0;
	    for( int j = 0; j < i.length; j++ ){
	        for( int k = 0; k < i.length - 1; k++ ){
	            if( i[k] > i[(k + 1)] ){
	        	    w = i[k];
	        	    i[k] = i[(k + 1)];
	        	    i[(k + 1)] = w;
	            }
    	    }
	    }
	    System.out.println( i[0] + " " + i[1] + " " + i[2] );
	}

}