import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
	     int a = sc.nextInt();
	     int b = sc.nextInt();
	     int c = sc.nextInt();
	     
	     if(a<=b&&b<=c){
	    	 System.out.println(a + " " + b + " " +  c);

	     }
	     else if(b<=a&&a<=c){
	    	 System.out.println(b + " " + a + " " + c);

	     }
	     
	     else if(c<=a&&a<=b){
	    	 System.out.println(c + " " + a + " " + b);

	     }
	     else if(a<=c&&c<=b){
	    	 System.out.println(a + " " + c + " " + b);

	     }

	     else if(c<=b&&b<=a){
	    	 System.out.println(c + " " + b + " " + a);

	     }

	     else if(b<=c&&c<=a){
	    	 System.out.println(b + " " + c + " " + a);

	     }
	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
	     int a = sc.nextInt();
	     int b = sc.nextInt();
	     int c = sc.nextInt();
	     
	     if(a<=b&&b<=c){
	    	 System.out.println(a + " " + b + " " +  c);

	     }
	     else if(b<=a&&a<=c){
	    	 System.out.println(b + " " + a + " " + c);

	     }
	     
	     else if(c<=a&&a<=b){
	    	 System.out.println(c + " " + a + " " + b);

	     }
	     else if(a<=c&&c<=b){
	    	 System.out.println(a + " " + c + " " + b);

	     }

	     else if(c<=b&&b<=a){
	    	 System.out.println(c + " " + b + " " + a);

	     }

	     else if(b<=c&&c<=a){
	    	 System.out.println(b + " " + c + " " + a);

	     }
	}

} Main public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
	     int a = sc.nextInt();
	     int b = sc.nextInt();
	     int c = sc.nextInt();
	     
	     if(a<=b&&b<=c){
	    	 System.out.println(a + " " + b + " " +  c);

	     }
	     else if(b<=a&&a<=c){
	    	 System.out.println(b + " " + a + " " + c);

	     }
	     
	     else if(c<=a&&a<=b){
	    	 System.out.println(c + " " + a + " " + b);

	     }
	     else if(a<=c&&c<=b){
	    	 System.out.println(a + " " + c + " " + b);

	     }

	     else if(c<=b&&b<=a){
	    	 System.out.println(c + " " + b + " " + a);

	     }

	     else if(b<=c&&c<=a){
	    	 System.out.println(b + " " + c + " " + a);

	     }
	} main {
		
		Scanner sc = new Scanner(System.in);
	     int a = sc.nextInt();
	     int b = sc.nextInt();
	     int c = sc.nextInt();
	     
	     if(a<=b&&b<=c){
	    	 System.out.println(a + " " + b + " " +  c);

	     }
	     else if(b<=a&&a<=c){
	    	 System.out.println(b + " " + a + " " + c);

	     }
	     
	     else if(c<=a&&a<=b){
	    	 System.out.println(c + " " + a + " " + b);

	     }
	     else if(a<=c&&c<=b){
	    	 System.out.println(a + " " + c + " " + b);

	     }

	     else if(c<=b&&b<=a){
	    	 System.out.println(c + " " + b + " " + a);

	     }

	     else if(b<=c&&c<=a){
	    	 System.out.println(b + " " + c + " " + a);

	     }
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc int c = sc.nextInt(); c sc.nextInt() sc.nextInt sc if(a<=b&&b<=c){
	    	 System.out.println(a + " " + b + " " +  c);

	     }
	     else if(b<=a&&a<=c){
	    	 System.out.println(b + " " + a + " " + c);

	     }
	     
	     else if(c<=a&&a<=b){
	    	 System.out.println(c + " " + a + " " + b);

	     }
	     else if(a<=c&&c<=b){
	    	 System.out.println(a + " " + c + " " + b);

	     }

	     else if(c<=b&&b<=a){
	    	 System.out.println(c + " " + b + " " + a);

	     }

	     else if(b<=c&&c<=a){
	    	 System.out.println(b + " " + c + " " + a);

	     } a<=b&&b<=c a<=b a b b<=c b c {
	    	 System.out.println(a + " " + b + " " +  c);

	     } System.out.println(a + " " + b + " " +  c) System.out.println System.out System System.out a + " " + b + " " +  c " " b a + " " + b + " " +  c a " " b " " c if(b<=a&&a<=c){
	    	 System.out.println(b + " " + a + " " + c);

	     }
	     
	     else if(c<=a&&a<=b){
	    	 System.out.println(c + " " + a + " " + b);

	     }
	     else if(a<=c&&c<=b){
	    	 System.out.println(a + " " + c + " " + b);

	     }

	     else if(c<=b&&b<=a){
	    	 System.out.println(c + " " + b + " " + a);

	     }

	     else if(b<=c&&c<=a){
	    	 System.out.println(b + " " + c + " " + a);

	     } b<=a&&a<=c b<=a b a a<=c a c {
	    	 System.out.println(b + " " + a + " " + c);

	     } System.out.println(b + " " + a + " " + c) System.out.println System.out System System.out b + " " + a + " " + c " " a b + " " + a + " " + c b " " a " " c if(c<=a&&a<=b){
	    	 System.out.println(c + " " + a + " " + b);

	     }
	     else if(a<=c&&c<=b){
	    	 System.out.println(a + " " + c + " " + b);

	     }

	     else if(c<=b&&b<=a){
	    	 System.out.println(c + " " + b + " " + a);

	     }

	     else if(b<=c&&c<=a){
	    	 System.out.println(b + " " + c + " " + a);

	     } c<=a&&a<=b c<=a c a a<=b a b {
	    	 System.out.println(c + " " + a + " " + b);

	     } System.out.println(c + " " + a + " " + b) System.out.println System.out System System.out c + " " + a + " " + b " " a c + " " + a + " " + b c " " a " " b if(a<=c&&c<=b){
	    	 System.out.println(a + " " + c + " " + b);

	     }

	     else if(c<=b&&b<=a){
	    	 System.out.println(c + " " + b + " " + a);

	     }

	     else if(b<=c&&c<=a){
	    	 System.out.println(b + " " + c + " " + a);

	     } a<=c&&c<=b a<=c a c c<=b c b {
	    	 System.out.println(a + " " + c + " " + b);

	     } System.out.println(a + " " + c + " " + b) System.out.println System.out System System.out a + " " + c + " " + b " " c a + " " + c + " " + b a " " c " " b if(c<=b&&b<=a){
	    	 System.out.println(c + " " + b + " " + a);

	     }

	     else if(b<=c&&c<=a){
	    	 System.out.println(b + " " + c + " " + a);

	     } c<=b&&b<=a c<=b c b b<=a b a {
	    	 System.out.println(c + " " + b + " " + a);

	     } System.out.println(c + " " + b + " " + a) System.out.println System.out System System.out c + " " + b + " " + a " " b c + " " + b + " " + a c " " b " " a if(b<=c&&c<=a){
	    	 System.out.println(b + " " + c + " " + a);

	     } b<=c&&c<=a b<=c b c c<=a c a {
	    	 System.out.println(b + " " + c + " " + a);

	     } System.out.println(b + " " + c + " " + a) System.out.println System.out System System.out b + " " + c + " " + a " " c b + " " + c + " " + a b " " c " " a String[] args args public class Main {

	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
	     int a = sc.nextInt();
	     int b = sc.nextInt();
	     int c = sc.nextInt();
	     
	     if(a<=b&&b<=c){
	    	 System.out.println(a + " " + b + " " +  c);

	     }
	     else if(b<=a&&a<=c){
	    	 System.out.println(b + " " + a + " " + c);

	     }
	     
	     else if(c<=a&&a<=b){
	    	 System.out.println(c + " " + a + " " + b);

	     }
	     else if(a<=c&&c<=b){
	    	 System.out.println(a + " " + c + " " + b);

	     }

	     else if(c<=b&&b<=a){
	    	 System.out.println(c + " " + b + " " + a);

	     }

	     else if(b<=c&&c<=a){
	    	 System.out.println(b + " " + c + " " + a);

	     }
	}

} public class Main {

	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
	     int a = sc.nextInt();
	     int b = sc.nextInt();
	     int c = sc.nextInt();
	     
	     if(a<=b&&b<=c){
	    	 System.out.println(a + " " + b + " " +  c);

	     }
	     else if(b<=a&&a<=c){
	    	 System.out.println(b + " " + a + " " + c);

	     }
	     
	     else if(c<=a&&a<=b){
	    	 System.out.println(c + " " + a + " " + b);

	     }
	     else if(a<=c&&c<=b){
	    	 System.out.println(a + " " + c + " " + b);

	     }

	     else if(c<=b&&b<=a){
	    	 System.out.println(c + " " + b + " " + a);

	     }

	     else if(b<=c&&c<=a){
	    	 System.out.println(b + " " + c + " " + a);

	     }
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
	     int a = sc.nextInt();
	     int b = sc.nextInt();
	     int c = sc.nextInt();
	     
	     if(a<=b&&b<=c){
	    	 System.out.println(a + " " + b + " " +  c);

	     }
	     else if(b<=a&&a<=c){
	    	 System.out.println(b + " " + a + " " + c);

	     }
	     
	     else if(c<=a&&a<=b){
	    	 System.out.println(c + " " + a + " " + b);

	     }
	     else if(a<=c&&c<=b){
	    	 System.out.println(a + " " + c + " " + b);

	     }

	     else if(c<=b&&b<=a){
	    	 System.out.println(c + " " + b + " " + a);

	     }

	     else if(b<=c&&c<=a){
	    	 System.out.println(b + " " + c + " " + a);

	     }
	}

}
