import java.util.Scanner;

class Main {
  public static void main(String[] args) {
    Scanner scanner = new Scanner(System.in);

    int a = scanner.nextInt();
    int b = scanner.nextInt();
    int c = scanner.nextInt();

    int _a = 0;
    int _b = 0;
    int _c = 0;

    if (a < b) {
      if (b < c) {
        _a = a; _b = b; _c = c;
      } else {
        if (a < c) {
          _a = a; _b = c; _c = b;
        } else {
          _a = c; _b = a; _c = b;
        }
      }
    } else {
      if (a < c) {
        _a = b; _b = a; _c = c;
      } else {
        if (b < c) {
          _a = b; _b = c; _c = a;
        } else {
          _a = c; _b = b; _c = a;
        }
      }
    }

    System.out.println(_a + " " + _b + " " + _c);
  }
} import java.util.Scanner; Scanner java.util class Main {
  public static void main(String[] args) {
    Scanner scanner = new Scanner(System.in);

    int a = scanner.nextInt();
    int b = scanner.nextInt();
    int c = scanner.nextInt();

    int _a = 0;
    int _b = 0;
    int _c = 0;

    if (a < b) {
      if (b < c) {
        _a = a; _b = b; _c = c;
      } else {
        if (a < c) {
          _a = a; _b = c; _c = b;
        } else {
          _a = c; _b = a; _c = b;
        }
      }
    } else {
      if (a < c) {
        _a = b; _b = a; _c = c;
      } else {
        if (b < c) {
          _a = b; _b = c; _c = a;
        } else {
          _a = c; _b = b; _c = a;
        }
      }
    }

    System.out.println(_a + " " + _b + " " + _c);
  }
} Main public static void main(String[] args) {
    Scanner scanner = new Scanner(System.in);

    int a = scanner.nextInt();
    int b = scanner.nextInt();
    int c = scanner.nextInt();

    int _a = 0;
    int _b = 0;
    int _c = 0;

    if (a < b) {
      if (b < c) {
        _a = a; _b = b; _c = c;
      } else {
        if (a < c) {
          _a = a; _b = c; _c = b;
        } else {
          _a = c; _b = a; _c = b;
        }
      }
    } else {
      if (a < c) {
        _a = b; _b = a; _c = c;
      } else {
        if (b < c) {
          _a = b; _b = c; _c = a;
        } else {
          _a = c; _b = b; _c = a;
        }
      }
    }

    System.out.println(_a + " " + _b + " " + _c);
  } main {
    Scanner scanner = new Scanner(System.in);

    int a = scanner.nextInt();
    int b = scanner.nextInt();
    int c = scanner.nextInt();

    int _a = 0;
    int _b = 0;
    int _c = 0;

    if (a < b) {
      if (b < c) {
        _a = a; _b = b; _c = c;
      } else {
        if (a < c) {
          _a = a; _b = c; _c = b;
        } else {
          _a = c; _b = a; _c = b;
        }
      }
    } else {
      if (a < c) {
        _a = b; _b = a; _c = c;
      } else {
        if (b < c) {
          _a = b; _b = c; _c = a;
        } else {
          _a = c; _b = b; _c = a;
        }
      }
    }

    System.out.println(_a + " " + _b + " " + _c);
  } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int a = scanner.nextInt(); a scanner.nextInt() scanner.nextInt scanner int b = scanner.nextInt(); b scanner.nextInt() scanner.nextInt scanner int c = scanner.nextInt(); c scanner.nextInt() scanner.nextInt scanner int _a = 0; _a 0 int _b = 0; _b 0 int _c = 0; _c 0 if (a < b) {
      if (b < c) {
        _a = a; _b = b; _c = c;
      } else {
        if (a < c) {
          _a = a; _b = c; _c = b;
        } else {
          _a = c; _b = a; _c = b;
        }
      }
    } else {
      if (a < c) {
        _a = b; _b = a; _c = c;
      } else {
        if (b < c) {
          _a = b; _b = c; _c = a;
        } else {
          _a = c; _b = b; _c = a;
        }
      }
    } a < b a b {
      if (b < c) {
        _a = a; _b = b; _c = c;
      } else {
        if (a < c) {
          _a = a; _b = c; _c = b;
        } else {
          _a = c; _b = a; _c = b;
        }
      }
    } if (b < c) {
        _a = a; _b = b; _c = c;
      } else {
        if (a < c) {
          _a = a; _b = c; _c = b;
        } else {
          _a = c; _b = a; _c = b;
        }
      } b < c b c {
        _a = a; _b = b; _c = c;
      } _a = a _a a _b = b _b b _c = c _c c {
        if (a < c) {
          _a = a; _b = c; _c = b;
        } else {
          _a = c; _b = a; _c = b;
        }
      } if (a < c) {
          _a = a; _b = c; _c = b;
        } else {
          _a = c; _b = a; _c = b;
        } a < c a c {
          _a = a; _b = c; _c = b;
        } _a = a _a a _b = c _b c _c = b _c b {
          _a = c; _b = a; _c = b;
        } _a = c _a c _b = a _b a _c = b _c b {
      if (a < c) {
        _a = b; _b = a; _c = c;
      } else {
        if (b < c) {
          _a = b; _b = c; _c = a;
        } else {
          _a = c; _b = b; _c = a;
        }
      }
    } if (a < c) {
        _a = b; _b = a; _c = c;
      } else {
        if (b < c) {
          _a = b; _b = c; _c = a;
        } else {
          _a = c; _b = b; _c = a;
        }
      } a < c a c {
        _a = b; _b = a; _c = c;
      } _a = b _a b _b = a _b a _c = c _c c {
        if (b < c) {
          _a = b; _b = c; _c = a;
        } else {
          _a = c; _b = b; _c = a;
        }
      } if (b < c) {
          _a = b; _b = c; _c = a;
        } else {
          _a = c; _b = b; _c = a;
        } b < c b c {
          _a = b; _b = c; _c = a;
        } _a = b _a b _b = c _b c _c = a _c a {
          _a = c; _b = b; _c = a;
        } _a = c _a c _b = b _b b _c = a _c a 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 scanner = new Scanner(System.in);

    int a = scanner.nextInt();
    int b = scanner.nextInt();
    int c = scanner.nextInt();

    int _a = 0;
    int _b = 0;
    int _c = 0;

    if (a < b) {
      if (b < c) {
        _a = a; _b = b; _c = c;
      } else {
        if (a < c) {
          _a = a; _b = c; _c = b;
        } else {
          _a = c; _b = a; _c = b;
        }
      }
    } else {
      if (a < c) {
        _a = b; _b = a; _c = c;
      } else {
        if (b < c) {
          _a = b; _b = c; _c = a;
        } else {
          _a = c; _b = b; _c = a;
        }
      }
    }

    System.out.println(_a + " " + _b + " " + _c);
  }
}