public class Main{
  public void run(java.io.InputStream in, java.io.PrintStream out){
    java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
    int a, b, c, tmp;
    a = sc.nextInt();
    b = sc.nextInt();
    c = sc.nextInt();

    if(a > b){
      tmp = a;
      a = b;
      b = tmp;
    }

    if(b > c){
      tmp = b;
      b = c;
      c = tmp;
    }

    if(a > b){
      tmp = a;
      a = b;
      b = tmp;
    }

    System.out.println(a + " " + b + " " + c);
/*fin*/
    sc.close();
  }
  public static void main(String[] args){
    (new Main()).run(System.in, System.out);
  }
} public class Main{
  public void run(java.io.InputStream in, java.io.PrintStream out){
    java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
    int a, b, c, tmp;
    a = sc.nextInt();
    b = sc.nextInt();
    c = sc.nextInt();

    if(a > b){
      tmp = a;
      a = b;
      b = tmp;
    }

    if(b > c){
      tmp = b;
      b = c;
      c = tmp;
    }

    if(a > b){
      tmp = a;
      a = b;
      b = tmp;
    }

    System.out.println(a + " " + b + " " + c);
/*fin*/
    sc.close();
  }
  public static void main(String[] args){
    (new Main()).run(System.in, System.out);
  }
} Main public void run(java.io.InputStream in, java.io.PrintStream out){
    java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
    int a, b, c, tmp;
    a = sc.nextInt();
    b = sc.nextInt();
    c = sc.nextInt();

    if(a > b){
      tmp = a;
      a = b;
      b = tmp;
    }

    if(b > c){
      tmp = b;
      b = c;
      c = tmp;
    }

    if(a > b){
      tmp = a;
      a = b;
      b = tmp;
    }

    System.out.println(a + " " + b + " " + c);
/*fin*/
    sc.close();
  } run {
    java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
    int a, b, c, tmp;
    a = sc.nextInt();
    b = sc.nextInt();
    c = sc.nextInt();

    if(a > b){
      tmp = a;
      a = b;
      b = tmp;
    }

    if(b > c){
      tmp = b;
      b = c;
      c = tmp;
    }

    if(a > b){
      tmp = a;
      a = b;
      b = tmp;
    }

    System.out.println(a + " " + b + " " + c);
/*fin*/
    sc.close();
  } java.util.Scanner sc = new java.util.Scanner(in); sc new java.util.Scanner(in) int a a b b c c tmp; tmp a = sc.nextInt() a sc.nextInt() sc.nextInt sc b = sc.nextInt() b sc.nextInt() sc.nextInt sc c = sc.nextInt() c sc.nextInt() sc.nextInt sc if(a > b){
      tmp = a;
      a = b;
      b = tmp;
    } a > b a b {
      tmp = a;
      a = b;
      b = tmp;
    } tmp = a tmp a a = b a b b = tmp b tmp if(b > c){
      tmp = b;
      b = c;
      c = tmp;
    } b > c b c {
      tmp = b;
      b = c;
      c = tmp;
    } tmp = b tmp b b = c b c c = tmp c tmp if(a > b){
      tmp = a;
      a = b;
      b = tmp;
    } a > b a b {
      tmp = a;
      a = b;
      b = tmp;
    } tmp = a tmp a a = b a b b = tmp b tmp System.out.println(a + " " + b + " " + c) System.out.println System.out System System.out a + " " + b + " " + c " " b a + " " + b + " " + c a " " b " " c sc.close() sc.close sc java.io.InputStream in in java.io.PrintStream out out public static void main(String[] args){
    (new Main()).run(System.in, System.out);
  } main {
    (new Main()).run(System.in, System.out);
  } (new Main()).run(System.in, System.out) (new Main()).run (new Main()) System.in System System.in System.out System System.out String[] args args public class Main{
  public void run(java.io.InputStream in, java.io.PrintStream out){
    java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
    int a, b, c, tmp;
    a = sc.nextInt();
    b = sc.nextInt();
    c = sc.nextInt();

    if(a > b){
      tmp = a;
      a = b;
      b = tmp;
    }

    if(b > c){
      tmp = b;
      b = c;
      c = tmp;
    }

    if(a > b){
      tmp = a;
      a = b;
      b = tmp;
    }

    System.out.println(a + " " + b + " " + c);
/*fin*/
    sc.close();
  }
  public static void main(String[] args){
    (new Main()).run(System.in, System.out);
  }
} public class Main{
  public void run(java.io.InputStream in, java.io.PrintStream out){
    java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
    int a, b, c, tmp;
    a = sc.nextInt();
    b = sc.nextInt();
    c = sc.nextInt();

    if(a > b){
      tmp = a;
      a = b;
      b = tmp;
    }

    if(b > c){
      tmp = b;
      b = c;
      c = tmp;
    }

    if(a > b){
      tmp = a;
      a = b;
      b = tmp;
    }

    System.out.println(a + " " + b + " " + c);
/*fin*/
    sc.close();
  }
  public static void main(String[] args){
    (new Main()).run(System.in, System.out);
  }
} Main
public class Main{
  public void run(java.io.InputStream in, java.io.PrintStream out){
    java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
    int a, b, c, tmp;
    a = sc.nextInt();
    b = sc.nextInt();
    c = sc.nextInt();

    if(a > b){
      tmp = a;
      a = b;
      b = tmp;
    }

    if(b > c){
      tmp = b;
      b = c;
      c = tmp;
    }

    if(a > b){
      tmp = a;
      a = b;
      b = tmp;
    }

    System.out.println(a + " " + b + " " + c);
/*fin*/
    sc.close();
  }
  public static void main(String[] args){
    (new Main()).run(System.in, System.out);
  }
}