import java.io.IOException;
import java.util.Scanner;
 
public class Main {
 
    public static void main(String[] args) throws IOException {
             
       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.print(a);
    	 System.out.print(" ");
    	 System.out.print(b);
    	 System.out.print(" ");
    	 System.out.println(c);
      }
      else if(b<=c && c<=a){
    	 System.out.print(b);
     	 System.out.print(" ");
     	 System.out.print(c);
     	 System.out.print(" ");
     	 System.out.println(a);
     	
      }
      else if(c<=a && a<=b){
     	 System.out.print(c);
      	 System.out.print(" ");
      	 System.out.print(a);
      	 System.out.print(" ");
      	 System.out.println(b);
      	
       }
      else if(a<=c && c<=b){
     	 System.out.print(a);
      	 System.out.print(" ");
      	 System.out.print(c);
      	 System.out.print(" ");
      	 System.out.println(b);
      	
       }
      else if(b<=a && a<=c){
     	 System.out.print(b);
      	 System.out.print(" ");
      	 System.out.print(a);
      	 System.out.print(" ");
      	 System.out.println(c);
      	
       }
      else if(c<=b && b<=a){
     	 System.out.print(c);
      	 System.out.print(" ");
      	 System.out.print(b);
      	 System.out.print(" ");
      	 System.out.println(a);
      	
       }
     	 
      } 
   
    } import java.io.IOException; IOException java.io import java.util.Scanner; Scanner java.util public class Main {
 
    public static void main(String[] args) throws IOException {
             
       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.print(a);
    	 System.out.print(" ");
    	 System.out.print(b);
    	 System.out.print(" ");
    	 System.out.println(c);
      }
      else if(b<=c && c<=a){
    	 System.out.print(b);
     	 System.out.print(" ");
     	 System.out.print(c);
     	 System.out.print(" ");
     	 System.out.println(a);
     	
      }
      else if(c<=a && a<=b){
     	 System.out.print(c);
      	 System.out.print(" ");
      	 System.out.print(a);
      	 System.out.print(" ");
      	 System.out.println(b);
      	
       }
      else if(a<=c && c<=b){
     	 System.out.print(a);
      	 System.out.print(" ");
      	 System.out.print(c);
      	 System.out.print(" ");
      	 System.out.println(b);
      	
       }
      else if(b<=a && a<=c){
     	 System.out.print(b);
      	 System.out.print(" ");
      	 System.out.print(a);
      	 System.out.print(" ");
      	 System.out.println(c);
      	
       }
      else if(c<=b && b<=a){
     	 System.out.print(c);
      	 System.out.print(" ");
      	 System.out.print(b);
      	 System.out.print(" ");
      	 System.out.println(a);
      	
       }
     	 
      } 
   
    } Main public static void main(String[] args) throws IOException {
             
       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.print(a);
    	 System.out.print(" ");
    	 System.out.print(b);
    	 System.out.print(" ");
    	 System.out.println(c);
      }
      else if(b<=c && c<=a){
    	 System.out.print(b);
     	 System.out.print(" ");
     	 System.out.print(c);
     	 System.out.print(" ");
     	 System.out.println(a);
     	
      }
      else if(c<=a && a<=b){
     	 System.out.print(c);
      	 System.out.print(" ");
      	 System.out.print(a);
      	 System.out.print(" ");
      	 System.out.println(b);
      	
       }
      else if(a<=c && c<=b){
     	 System.out.print(a);
      	 System.out.print(" ");
      	 System.out.print(c);
      	 System.out.print(" ");
      	 System.out.println(b);
      	
       }
      else if(b<=a && a<=c){
     	 System.out.print(b);
      	 System.out.print(" ");
      	 System.out.print(a);
      	 System.out.print(" ");
      	 System.out.println(c);
      	
       }
      else if(c<=b && b<=a){
     	 System.out.print(c);
      	 System.out.print(" ");
      	 System.out.print(b);
      	 System.out.print(" ");
      	 System.out.println(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.print(a);
    	 System.out.print(" ");
    	 System.out.print(b);
    	 System.out.print(" ");
    	 System.out.println(c);
      }
      else if(b<=c && c<=a){
    	 System.out.print(b);
     	 System.out.print(" ");
     	 System.out.print(c);
     	 System.out.print(" ");
     	 System.out.println(a);
     	
      }
      else if(c<=a && a<=b){
     	 System.out.print(c);
      	 System.out.print(" ");
      	 System.out.print(a);
      	 System.out.print(" ");
      	 System.out.println(b);
      	
       }
      else if(a<=c && c<=b){
     	 System.out.print(a);
      	 System.out.print(" ");
      	 System.out.print(c);
      	 System.out.print(" ");
      	 System.out.println(b);
      	
       }
      else if(b<=a && a<=c){
     	 System.out.print(b);
      	 System.out.print(" ");
      	 System.out.print(a);
      	 System.out.print(" ");
      	 System.out.println(c);
      	
       }
      else if(c<=b && b<=a){
     	 System.out.print(c);
      	 System.out.print(" ");
      	 System.out.print(b);
      	 System.out.print(" ");
      	 System.out.println(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.print(a);
    	 System.out.print(" ");
    	 System.out.print(b);
    	 System.out.print(" ");
    	 System.out.println(c);
      }
      else if(b<=c && c<=a){
    	 System.out.print(b);
     	 System.out.print(" ");
     	 System.out.print(c);
     	 System.out.print(" ");
     	 System.out.println(a);
     	
      }
      else if(c<=a && a<=b){
     	 System.out.print(c);
      	 System.out.print(" ");
      	 System.out.print(a);
      	 System.out.print(" ");
      	 System.out.println(b);
      	
       }
      else if(a<=c && c<=b){
     	 System.out.print(a);
      	 System.out.print(" ");
      	 System.out.print(c);
      	 System.out.print(" ");
      	 System.out.println(b);
      	
       }
      else if(b<=a && a<=c){
     	 System.out.print(b);
      	 System.out.print(" ");
      	 System.out.print(a);
      	 System.out.print(" ");
      	 System.out.println(c);
      	
       }
      else if(c<=b && b<=a){
     	 System.out.print(c);
      	 System.out.print(" ");
      	 System.out.print(b);
      	 System.out.print(" ");
      	 System.out.println(a);
      	
       } a<=b && b<=c a<=b a b b<=c b c {
    	 System.out.print(a);
    	 System.out.print(" ");
    	 System.out.print(b);
    	 System.out.print(" ");
    	 System.out.println(c);
      } System.out.print(a) System.out.print System.out System System.out a System.out.print(" ") System.out.print System.out System System.out " " System.out.print(b) System.out.print System.out System System.out b System.out.print(" ") System.out.print System.out System System.out " " System.out.println(c) System.out.println System.out System System.out c if(b<=c && c<=a){
    	 System.out.print(b);
     	 System.out.print(" ");
     	 System.out.print(c);
     	 System.out.print(" ");
     	 System.out.println(a);
     	
      }
      else if(c<=a && a<=b){
     	 System.out.print(c);
      	 System.out.print(" ");
      	 System.out.print(a);
      	 System.out.print(" ");
      	 System.out.println(b);
      	
       }
      else if(a<=c && c<=b){
     	 System.out.print(a);
      	 System.out.print(" ");
      	 System.out.print(c);
      	 System.out.print(" ");
      	 System.out.println(b);
      	
       }
      else if(b<=a && a<=c){
     	 System.out.print(b);
      	 System.out.print(" ");
      	 System.out.print(a);
      	 System.out.print(" ");
      	 System.out.println(c);
      	
       }
      else if(c<=b && b<=a){
     	 System.out.print(c);
      	 System.out.print(" ");
      	 System.out.print(b);
      	 System.out.print(" ");
      	 System.out.println(a);
      	
       } b<=c && c<=a b<=c b c c<=a c a {
    	 System.out.print(b);
     	 System.out.print(" ");
     	 System.out.print(c);
     	 System.out.print(" ");
     	 System.out.println(a);
     	
      } System.out.print(b) System.out.print System.out System System.out b System.out.print(" ") System.out.print System.out System System.out " " System.out.print(c) System.out.print System.out System System.out c System.out.print(" ") System.out.print System.out System System.out " " System.out.println(a) System.out.println System.out System System.out a if(c<=a && a<=b){
     	 System.out.print(c);
      	 System.out.print(" ");
      	 System.out.print(a);
      	 System.out.print(" ");
      	 System.out.println(b);
      	
       }
      else if(a<=c && c<=b){
     	 System.out.print(a);
      	 System.out.print(" ");
      	 System.out.print(c);
      	 System.out.print(" ");
      	 System.out.println(b);
      	
       }
      else if(b<=a && a<=c){
     	 System.out.print(b);
      	 System.out.print(" ");
      	 System.out.print(a);
      	 System.out.print(" ");
      	 System.out.println(c);
      	
       }
      else if(c<=b && b<=a){
     	 System.out.print(c);
      	 System.out.print(" ");
      	 System.out.print(b);
      	 System.out.print(" ");
      	 System.out.println(a);
      	
       } c<=a && a<=b c<=a c a a<=b a b {
     	 System.out.print(c);
      	 System.out.print(" ");
      	 System.out.print(a);
      	 System.out.print(" ");
      	 System.out.println(b);
      	
       } System.out.print(c) System.out.print System.out System System.out c System.out.print(" ") System.out.print System.out System System.out " " System.out.print(a) System.out.print System.out System System.out a System.out.print(" ") System.out.print System.out System System.out " " System.out.println(b) System.out.println System.out System System.out b if(a<=c && c<=b){
     	 System.out.print(a);
      	 System.out.print(" ");
      	 System.out.print(c);
      	 System.out.print(" ");
      	 System.out.println(b);
      	
       }
      else if(b<=a && a<=c){
     	 System.out.print(b);
      	 System.out.print(" ");
      	 System.out.print(a);
      	 System.out.print(" ");
      	 System.out.println(c);
      	
       }
      else if(c<=b && b<=a){
     	 System.out.print(c);
      	 System.out.print(" ");
      	 System.out.print(b);
      	 System.out.print(" ");
      	 System.out.println(a);
      	
       } a<=c && c<=b a<=c a c c<=b c b {
     	 System.out.print(a);
      	 System.out.print(" ");
      	 System.out.print(c);
      	 System.out.print(" ");
      	 System.out.println(b);
      	
       } System.out.print(a) System.out.print System.out System System.out a System.out.print(" ") System.out.print System.out System System.out " " System.out.print(c) System.out.print System.out System System.out c System.out.print(" ") System.out.print System.out System System.out " " System.out.println(b) System.out.println System.out System System.out b if(b<=a && a<=c){
     	 System.out.print(b);
      	 System.out.print(" ");
      	 System.out.print(a);
      	 System.out.print(" ");
      	 System.out.println(c);
      	
       }
      else if(c<=b && b<=a){
     	 System.out.print(c);
      	 System.out.print(" ");
      	 System.out.print(b);
      	 System.out.print(" ");
      	 System.out.println(a);
      	
       } b<=a && a<=c b<=a b a a<=c a c {
     	 System.out.print(b);
      	 System.out.print(" ");
      	 System.out.print(a);
      	 System.out.print(" ");
      	 System.out.println(c);
      	
       } System.out.print(b) System.out.print System.out System System.out b System.out.print(" ") System.out.print System.out System System.out " " System.out.print(a) System.out.print System.out System System.out a System.out.print(" ") System.out.print System.out System System.out " " System.out.println(c) System.out.println System.out System System.out c if(c<=b && b<=a){
     	 System.out.print(c);
      	 System.out.print(" ");
      	 System.out.print(b);
      	 System.out.print(" ");
      	 System.out.println(a);
      	
       } c<=b && b<=a c<=b c b b<=a b a {
     	 System.out.print(c);
      	 System.out.print(" ");
      	 System.out.print(b);
      	 System.out.print(" ");
      	 System.out.println(a);
      	
       } System.out.print(c) System.out.print System.out System System.out c System.out.print(" ") System.out.print System.out System System.out " " System.out.print(b) System.out.print System.out System System.out b System.out.print(" ") System.out.print System.out System System.out " " System.out.println(a) System.out.println System.out System System.out a String[] args args public class Main {
 
    public static void main(String[] args) throws IOException {
             
       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.print(a);
    	 System.out.print(" ");
    	 System.out.print(b);
    	 System.out.print(" ");
    	 System.out.println(c);
      }
      else if(b<=c && c<=a){
    	 System.out.print(b);
     	 System.out.print(" ");
     	 System.out.print(c);
     	 System.out.print(" ");
     	 System.out.println(a);
     	
      }
      else if(c<=a && a<=b){
     	 System.out.print(c);
      	 System.out.print(" ");
      	 System.out.print(a);
      	 System.out.print(" ");
      	 System.out.println(b);
      	
       }
      else if(a<=c && c<=b){
     	 System.out.print(a);
      	 System.out.print(" ");
      	 System.out.print(c);
      	 System.out.print(" ");
      	 System.out.println(b);
      	
       }
      else if(b<=a && a<=c){
     	 System.out.print(b);
      	 System.out.print(" ");
      	 System.out.print(a);
      	 System.out.print(" ");
      	 System.out.println(c);
      	
       }
      else if(c<=b && b<=a){
     	 System.out.print(c);
      	 System.out.print(" ");
      	 System.out.print(b);
      	 System.out.print(" ");
      	 System.out.println(a);
      	
       }
     	 
      } 
   
    } public class Main {
 
    public static void main(String[] args) throws IOException {
             
       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.print(a);
    	 System.out.print(" ");
    	 System.out.print(b);
    	 System.out.print(" ");
    	 System.out.println(c);
      }
      else if(b<=c && c<=a){
    	 System.out.print(b);
     	 System.out.print(" ");
     	 System.out.print(c);
     	 System.out.print(" ");
     	 System.out.println(a);
     	
      }
      else if(c<=a && a<=b){
     	 System.out.print(c);
      	 System.out.print(" ");
      	 System.out.print(a);
      	 System.out.print(" ");
      	 System.out.println(b);
      	
       }
      else if(a<=c && c<=b){
     	 System.out.print(a);
      	 System.out.print(" ");
      	 System.out.print(c);
      	 System.out.print(" ");
      	 System.out.println(b);
      	
       }
      else if(b<=a && a<=c){
     	 System.out.print(b);
      	 System.out.print(" ");
      	 System.out.print(a);
      	 System.out.print(" ");
      	 System.out.println(c);
      	
       }
      else if(c<=b && b<=a){
     	 System.out.print(c);
      	 System.out.print(" ");
      	 System.out.print(b);
      	 System.out.print(" ");
      	 System.out.println(a);
      	
       }
     	 
      } 
   
    } Main
import java.io.IOException;
import java.util.Scanner;
 
public class Main {
 
    public static void main(String[] args) throws IOException {
             
       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.print(a);
    	 System.out.print(" ");
    	 System.out.print(b);
    	 System.out.print(" ");
    	 System.out.println(c);
      }
      else if(b<=c && c<=a){
    	 System.out.print(b);
     	 System.out.print(" ");
     	 System.out.print(c);
     	 System.out.print(" ");
     	 System.out.println(a);
     	
      }
      else if(c<=a && a<=b){
     	 System.out.print(c);
      	 System.out.print(" ");
      	 System.out.print(a);
      	 System.out.print(" ");
      	 System.out.println(b);
      	
       }
      else if(a<=c && c<=b){
     	 System.out.print(a);
      	 System.out.print(" ");
      	 System.out.print(c);
      	 System.out.print(" ");
      	 System.out.println(b);
      	
       }
      else if(b<=a && a<=c){
     	 System.out.print(b);
      	 System.out.print(" ");
      	 System.out.print(a);
      	 System.out.print(" ");
      	 System.out.println(c);
      	
       }
      else if(c<=b && b<=a){
     	 System.out.print(c);
      	 System.out.print(" ");
      	 System.out.print(b);
      	 System.out.print(" ");
      	 System.out.println(a);
      	
       }
     	 
      } 
   
    }