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