import java.io.IOException;
import java.util.Arrays;
import java.util.Scanner;
public class Main {

	public static void main(String[] args) throws IOException {
		// TODO ?????????????????????????????????????????????
         Scanner sc = new Scanner(System.in);
         int a = sc.nextInt();
         int b = sc.nextInt();
         int c = sc.nextInt();
         
         int []d = {a,b,c};
         Arrays.sort(d);
         
         System.out.println(d[0] +" "+ d[1] + " " +d[2]);
         
         
         
	}} import java.io.IOException; IOException java.io import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) throws IOException {
		// TODO ?????????????????????????????????????????????
         Scanner sc = new Scanner(System.in);
         int a = sc.nextInt();
         int b = sc.nextInt();
         int c = sc.nextInt();
         
         int []d = {a,b,c};
         Arrays.sort(d);
         
         System.out.println(d[0] +" "+ d[1] + " " +d[2]);
         
         
         
	}} Main public static void main(String[] args) throws IOException {
		// TODO ?????????????????????????????????????????????
         Scanner sc = new Scanner(System.in);
         int a = sc.nextInt();
         int b = sc.nextInt();
         int c = sc.nextInt();
         
         int []d = {a,b,c};
         Arrays.sort(d);
         
         System.out.println(d[0] +" "+ d[1] + " " +d[2]);
         
         
         
	} main {
		// TODO ?????????????????????????????????????????????
         Scanner sc = new Scanner(System.in);
         int a = sc.nextInt();
         int b = sc.nextInt();
         int c = sc.nextInt();
         
         int []d = {a,b,c};
         Arrays.sort(d);
         
         System.out.println(d[0] +" "+ d[1] + " " +d[2]);
         
         
         
	} 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 []d = {a,b,c}; d {a,b,c} a b c Arrays.sort(d) Arrays.sort Arrays d System.out.println(d[0] +" "+ d[1] + " " +d[2]) System.out.println System.out System System.out d[0] +" "+ d[1] + " " +d[2] " " d[1] d[0] +" "+ d[1] + " " +d[2] d[0] d 0 " " d[1] d 1 " " d[2] d 2 String[] args args public class Main {

	public static void main(String[] args) throws IOException {
		// TODO ?????????????????????????????????????????????
         Scanner sc = new Scanner(System.in);
         int a = sc.nextInt();
         int b = sc.nextInt();
         int c = sc.nextInt();
         
         int []d = {a,b,c};
         Arrays.sort(d);
         
         System.out.println(d[0] +" "+ d[1] + " " +d[2]);
         
         
         
	}} public class Main {

	public static void main(String[] args) throws IOException {
		// TODO ?????????????????????????????????????????????
         Scanner sc = new Scanner(System.in);
         int a = sc.nextInt();
         int b = sc.nextInt();
         int c = sc.nextInt();
         
         int []d = {a,b,c};
         Arrays.sort(d);
         
         System.out.println(d[0] +" "+ d[1] + " " +d[2]);
         
         
         
	}} Main
import java.io.IOException;
import java.util.Arrays;
import java.util.Scanner;
public class Main {

	public static void main(String[] args) throws IOException {
		// TODO ?????????????????????????????????????????????
         Scanner sc = new Scanner(System.in);
         int a = sc.nextInt();
         int b = sc.nextInt();
         int c = sc.nextInt();
         
         int []d = {a,b,c};
         Arrays.sort(d);
         
         System.out.println(d[0] +" "+ d[1] + " " +d[2]);
         
         
         
	}}