import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
      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.printf("%d %d %d\n",a,b,c);
      }else if(a<=c&&c<=b){
          System.out.printf("%d %d %d\n",a,c,b);
      }else if(b<=a&&a<=c){
          System.out.printf("%d %d %d\n",b,a,c);
      }else if(b<=c&&c<=a){
          System.out.printf("%d %d %d\n",b,c,a);
      }else if(c<=a&&a<=b){
          System.out.printf("%d %d %d\n",c,a,b);
      }else if(c<=b&&b<=a){
          System.out.printf("%d %d %d\n",c,b,a);
      }
      
      
       
    }
}

 import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws Exception {
      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.printf("%d %d %d\n",a,b,c);
      }else if(a<=c&&c<=b){
          System.out.printf("%d %d %d\n",a,c,b);
      }else if(b<=a&&a<=c){
          System.out.printf("%d %d %d\n",b,a,c);
      }else if(b<=c&&c<=a){
          System.out.printf("%d %d %d\n",b,c,a);
      }else if(c<=a&&a<=b){
          System.out.printf("%d %d %d\n",c,a,b);
      }else if(c<=b&&b<=a){
          System.out.printf("%d %d %d\n",c,b,a);
      }
      
      
       
    }
} Main public static void main(String[] args) throws Exception {
      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.printf("%d %d %d\n",a,b,c);
      }else if(a<=c&&c<=b){
          System.out.printf("%d %d %d\n",a,c,b);
      }else if(b<=a&&a<=c){
          System.out.printf("%d %d %d\n",b,a,c);
      }else if(b<=c&&c<=a){
          System.out.printf("%d %d %d\n",b,c,a);
      }else if(c<=a&&a<=b){
          System.out.printf("%d %d %d\n",c,a,b);
      }else if(c<=b&&b<=a){
          System.out.printf("%d %d %d\n",c,b,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.printf("%d %d %d\n",a,b,c);
      }else if(a<=c&&c<=b){
          System.out.printf("%d %d %d\n",a,c,b);
      }else if(b<=a&&a<=c){
          System.out.printf("%d %d %d\n",b,a,c);
      }else if(b<=c&&c<=a){
          System.out.printf("%d %d %d\n",b,c,a);
      }else if(c<=a&&a<=b){
          System.out.printf("%d %d %d\n",c,a,b);
      }else if(c<=b&&b<=a){
          System.out.printf("%d %d %d\n",c,b,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.printf("%d %d %d\n",a,b,c);
      }else if(a<=c&&c<=b){
          System.out.printf("%d %d %d\n",a,c,b);
      }else if(b<=a&&a<=c){
          System.out.printf("%d %d %d\n",b,a,c);
      }else if(b<=c&&c<=a){
          System.out.printf("%d %d %d\n",b,c,a);
      }else if(c<=a&&a<=b){
          System.out.printf("%d %d %d\n",c,a,b);
      }else if(c<=b&&b<=a){
          System.out.printf("%d %d %d\n",c,b,a);
      } a<=b&&b<=c a<=b a 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(a<=c&&c<=b){
          System.out.printf("%d %d %d\n",a,c,b);
      }else if(b<=a&&a<=c){
          System.out.printf("%d %d %d\n",b,a,c);
      }else if(b<=c&&c<=a){
          System.out.printf("%d %d %d\n",b,c,a);
      }else if(c<=a&&a<=b){
          System.out.printf("%d %d %d\n",c,a,b);
      }else if(c<=b&&b<=a){
          System.out.printf("%d %d %d\n",c,b,a);
      } a<=c&&c<=b a<=c a c c<=b c 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(b<=a&&a<=c){
          System.out.printf("%d %d %d\n",b,a,c);
      }else if(b<=c&&c<=a){
          System.out.printf("%d %d %d\n",b,c,a);
      }else if(c<=a&&a<=b){
          System.out.printf("%d %d %d\n",c,a,b);
      }else if(c<=b&&b<=a){
          System.out.printf("%d %d %d\n",c,b,a);
      } b<=a&&a<=c b<=a b a a<=c a c {
          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 if(b<=c&&c<=a){
          System.out.printf("%d %d %d\n",b,c,a);
      }else if(c<=a&&a<=b){
          System.out.printf("%d %d %d\n",c,a,b);
      }else if(c<=b&&b<=a){
          System.out.printf("%d %d %d\n",c,b,a);
      } b<=c&&c<=a b<=c b c c<=a c a {
          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 if(c<=a&&a<=b){
          System.out.printf("%d %d %d\n",c,a,b);
      }else if(c<=b&&b<=a){
          System.out.printf("%d %d %d\n",c,b,a);
      } c<=a&&a<=b c<=a c a a<=b a b {
          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 if(c<=b&&b<=a){
          System.out.printf("%d %d %d\n",c,b,a);
      } c<=b&&b<=a c<=b c b b<=a b a {
          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 String[] args args public class Main {
    public static void main(String[] args) throws Exception {
      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.printf("%d %d %d\n",a,b,c);
      }else if(a<=c&&c<=b){
          System.out.printf("%d %d %d\n",a,c,b);
      }else if(b<=a&&a<=c){
          System.out.printf("%d %d %d\n",b,a,c);
      }else if(b<=c&&c<=a){
          System.out.printf("%d %d %d\n",b,c,a);
      }else if(c<=a&&a<=b){
          System.out.printf("%d %d %d\n",c,a,b);
      }else if(c<=b&&b<=a){
          System.out.printf("%d %d %d\n",c,b,a);
      }
      
      
       
    }
} public class Main {
    public static void main(String[] args) throws Exception {
      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.printf("%d %d %d\n",a,b,c);
      }else if(a<=c&&c<=b){
          System.out.printf("%d %d %d\n",a,c,b);
      }else if(b<=a&&a<=c){
          System.out.printf("%d %d %d\n",b,a,c);
      }else if(b<=c&&c<=a){
          System.out.printf("%d %d %d\n",b,c,a);
      }else if(c<=a&&a<=b){
          System.out.printf("%d %d %d\n",c,a,b);
      }else if(c<=b&&b<=a){
          System.out.printf("%d %d %d\n",c,b,a);
      }
      
      
       
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
      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.printf("%d %d %d\n",a,b,c);
      }else if(a<=c&&c<=b){
          System.out.printf("%d %d %d\n",a,c,b);
      }else if(b<=a&&a<=c){
          System.out.printf("%d %d %d\n",b,a,c);
      }else if(b<=c&&c<=a){
          System.out.printf("%d %d %d\n",b,c,a);
      }else if(c<=a&&a<=b){
          System.out.printf("%d %d %d\n",c,a,b);
      }else if(c<=b&&b<=a){
          System.out.printf("%d %d %d\n",c,b,a);
      }
      
      
       
    }
}


