import java.util.Scanner;
import java.util.Arrays;

class Main {
	public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    int[] input_number = new int[3];
    input_number[0]  = Integer.parseInt(scan.next());
    input_number[1]  = Integer.parseInt(scan.next());
    input_number[2]  = Integer.parseInt(scan.next());
    Arrays.sort(input_number);
    System.out.println(input_number[0] + " " + input_number[1] + " " + input_number[2]);
	}
}
 import java.util.Scanner; Scanner java.util import java.util.Arrays; Arrays java.util class Main {
	public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    int[] input_number = new int[3];
    input_number[0]  = Integer.parseInt(scan.next());
    input_number[1]  = Integer.parseInt(scan.next());
    input_number[2]  = Integer.parseInt(scan.next());
    Arrays.sort(input_number);
    System.out.println(input_number[0] + " " + input_number[1] + " " + input_number[2]);
	}
} Main public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    int[] input_number = new int[3];
    input_number[0]  = Integer.parseInt(scan.next());
    input_number[1]  = Integer.parseInt(scan.next());
    input_number[2]  = Integer.parseInt(scan.next());
    Arrays.sort(input_number);
    System.out.println(input_number[0] + " " + input_number[1] + " " + input_number[2]);
	} main {
    Scanner scan = new Scanner(System.in);
    int[] input_number = new int[3];
    input_number[0]  = Integer.parseInt(scan.next());
    input_number[1]  = Integer.parseInt(scan.next());
    input_number[2]  = Integer.parseInt(scan.next());
    Arrays.sort(input_number);
    System.out.println(input_number[0] + " " + input_number[1] + " " + input_number[2]);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int[] input_number = new int[3]; input_number new int[3] 3 input_number[0]  = Integer.parseInt(scan.next()) input_number[0] input_number 0 Integer.parseInt(scan.next()) Integer.parseInt Integer scan.next() scan.next scan input_number[1]  = Integer.parseInt(scan.next()) input_number[1] input_number 1 Integer.parseInt(scan.next()) Integer.parseInt Integer scan.next() scan.next scan input_number[2]  = Integer.parseInt(scan.next()) input_number[2] input_number 2 Integer.parseInt(scan.next()) Integer.parseInt Integer scan.next() scan.next scan Arrays.sort(input_number) Arrays.sort Arrays input_number System.out.println(input_number[0] + " " + input_number[1] + " " + input_number[2]) System.out.println System.out System System.out input_number[0] + " " + input_number[1] + " " + input_number[2] " " input_number[1] input_number[0] + " " + input_number[1] + " " + input_number[2] input_number[0] input_number 0 " " input_number[1] input_number 1 " " input_number[2] input_number 2 String[] args args
import java.util.Scanner;
import java.util.Arrays;

class Main {
	public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    int[] input_number = new int[3];
    input_number[0]  = Integer.parseInt(scan.next());
    input_number[1]  = Integer.parseInt(scan.next());
    input_number[2]  = Integer.parseInt(scan.next());
    Arrays.sort(input_number);
    System.out.println(input_number[0] + " " + input_number[1] + " " + input_number[2]);
	}
}

