import java.util.Arrays;

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;

class Main{
  public static void main(String[] args){
    try{
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
      String str = br.readLine();
      String[] str2 = str.split(" ");
      int[] x = {Integer.parseInt(str2[0]), Integer.parseInt(str2[1]), Integer.parseInt(str2[2])};
      Arrays.sort(x);
      System.out.println(x[0] + " " + x[1] + " " + x[2]);
    } catch (IOException e){
      System.err.println(e.toString());
    }
  }
} import java.util.Arrays; Arrays java.util import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.io.IOException; IOException java.io class Main{
  public static void main(String[] args){
    try{
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
      String str = br.readLine();
      String[] str2 = str.split(" ");
      int[] x = {Integer.parseInt(str2[0]), Integer.parseInt(str2[1]), Integer.parseInt(str2[2])};
      Arrays.sort(x);
      System.out.println(x[0] + " " + x[1] + " " + x[2]);
    } catch (IOException e){
      System.err.println(e.toString());
    }
  }
} Main public static void main(String[] args){
    try{
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
      String str = br.readLine();
      String[] str2 = str.split(" ");
      int[] x = {Integer.parseInt(str2[0]), Integer.parseInt(str2[1]), Integer.parseInt(str2[2])};
      Arrays.sort(x);
      System.out.println(x[0] + " " + x[1] + " " + x[2]);
    } catch (IOException e){
      System.err.println(e.toString());
    }
  } main {
    try{
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
      String str = br.readLine();
      String[] str2 = str.split(" ");
      int[] x = {Integer.parseInt(str2[0]), Integer.parseInt(str2[1]), Integer.parseInt(str2[2])};
      Arrays.sort(x);
      System.out.println(x[0] + " " + x[1] + " " + x[2]);
    } catch (IOException e){
      System.err.println(e.toString());
    }
  } try{
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
      String str = br.readLine();
      String[] str2 = str.split(" ");
      int[] x = {Integer.parseInt(str2[0]), Integer.parseInt(str2[1]), Integer.parseInt(str2[2])};
      Arrays.sort(x);
      System.out.println(x[0] + " " + x[1] + " " + x[2]);
    } catch (IOException e){
      System.err.println(e.toString());
    } catch (IOException e){
      System.err.println(e.toString());
    } IOException e {
      System.err.println(e.toString());
    } System.err.println(e.toString()) System.err.println System.err System System.err e.toString() e.toString e {
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
      String str = br.readLine();
      String[] str2 = str.split(" ");
      int[] x = {Integer.parseInt(str2[0]), Integer.parseInt(str2[1]), Integer.parseInt(str2[2])};
      Arrays.sort(x);
      System.out.println(x[0] + " " + x[1] + " " + x[2]);
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str = br.readLine(); str br.readLine() br.readLine br String[] str2 = str.split(" "); str2 str.split(" ") str.split str " " int[] x = {Integer.parseInt(str2[0]), Integer.parseInt(str2[1]), Integer.parseInt(str2[2])}; x {Integer.parseInt(str2[0]), Integer.parseInt(str2[1]), Integer.parseInt(str2[2])} Integer.parseInt(str2[0]) Integer.parseInt Integer str2[0] str2 0 Integer.parseInt(str2[1]) Integer.parseInt Integer str2[1] str2 1 Integer.parseInt(str2[2]) Integer.parseInt Integer str2[2] str2 2 Arrays.sort(x) Arrays.sort Arrays x System.out.println(x[0] + " " + x[1] + " " + x[2]) System.out.println System.out System System.out x[0] + " " + x[1] + " " + x[2] " " x[1] x[0] + " " + x[1] + " " + x[2] x[0] x 0 " " x[1] x 1 " " x[2] x 2 String[] args args
import java.util.Arrays;

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;

class Main{
  public static void main(String[] args){
    try{
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
      String str = br.readLine();
      String[] str2 = str.split(" ");
      int[] x = {Integer.parseInt(str2[0]), Integer.parseInt(str2[1]), Integer.parseInt(str2[2])};
      Arrays.sort(x);
      System.out.println(x[0] + " " + x[1] + " " + x[2]);
    } catch (IOException e){
      System.err.println(e.toString());
    }
  }
}
