import java.util.Scanner;

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();
        int w,y,z;
          if ( a > b ){
            w = a;
            a = b;
            b = w;
          }
          if ( b > c ){
            y = b;
            b = c;
            c = y;
          }
          if ( a > b ){
            z = a;
            a = b;
            b = z;
          }
        System.out.println(a + " " + b + " " + c);
        }
      } import java.util.Scanner; Scanner java.util 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();
        int w,y,z;
          if ( a > b ){
            w = a;
            a = b;
            b = w;
          }
          if ( b > c ){
            y = b;
            b = c;
            c = y;
          }
          if ( a > b ){
            z = a;
            a = b;
            b = z;
          }
        System.out.println(a + " " + b + " " + c);
        }
      } 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();
        int w,y,z;
          if ( a > b ){
            w = a;
            a = b;
            b = w;
          }
          if ( b > c ){
            y = b;
            b = c;
            c = y;
          }
          if ( a > b ){
            z = a;
            a = b;
            b = z;
          }
        System.out.println(a + " " + b + " " + c);
        } main {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        int w,y,z;
          if ( a > b ){
            w = a;
            a = b;
            b = w;
          }
          if ( b > c ){
            y = b;
            b = c;
            c = y;
          }
          if ( a > b ){
            z = a;
            a = b;
            b = z;
          }
        System.out.println(a + " " + b + " " + c);
        } 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 int w w y y z; z if ( a > b ){
            w = a;
            a = b;
            b = w;
          } a > b a b {
            w = a;
            a = b;
            b = w;
          } w = a w a a = b a b b = w b w if ( b > c ){
            y = b;
            b = c;
            c = y;
          } b > c b c {
            y = b;
            b = c;
            c = y;
          } y = b y b b = c b c c = y c y if ( a > b ){
            z = a;
            a = b;
            b = z;
          } a > b a b {
            z = a;
            a = b;
            b = z;
          } z = a z a a = b a b b = z b z System.out.println(a + " " + b + " " + c) System.out.println System.out System System.out a + " " + b + " " + c " " b a + " " + b + " " + c a " " b " " c String[] args args
import java.util.Scanner;

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();
        int w,y,z;
          if ( a > b ){
            w = a;
            a = b;
            b = w;
          }
          if ( b > c ){
            y = b;
            b = c;
            c = y;
          }
          if ( a > b ){
            z = a;
            a = b;
            b = z;
          }
        System.out.println(a + " " + b + " " + c);
        }
      }
