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

public class Main {

	final static int INPUT_COUNT = 2;

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

		int num[] = new int[INPUT_COUNT+1];

		for(int i=0;i<=INPUT_COUNT;i++){
			num[i] = scan.nextInt();
		}

		Arrays.sort(num);

		System.out.println(num[0] + " " + num[1] + " " + num[2]);

		scan.close();

	}
} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {

	final static int INPUT_COUNT = 2;

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

		int num[] = new int[INPUT_COUNT+1];

		for(int i=0;i<=INPUT_COUNT;i++){
			num[i] = scan.nextInt();
		}

		Arrays.sort(num);

		System.out.println(num[0] + " " + num[1] + " " + num[2]);

		scan.close();

	}
} Main final static int INPUT_COUNT = 2; INPUT_COUNT 2 public static void main(String args[]){
		Scanner scan = new Scanner(System.in);

		int num[] = new int[INPUT_COUNT+1];

		for(int i=0;i<=INPUT_COUNT;i++){
			num[i] = scan.nextInt();
		}

		Arrays.sort(num);

		System.out.println(num[0] + " " + num[1] + " " + num[2]);

		scan.close();

	} main {
		Scanner scan = new Scanner(System.in);

		int num[] = new int[INPUT_COUNT+1];

		for(int i=0;i<=INPUT_COUNT;i++){
			num[i] = scan.nextInt();
		}

		Arrays.sort(num);

		System.out.println(num[0] + " " + num[1] + " " + num[2]);

		scan.close();

	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int num[] = new int[INPUT_COUNT+1]; num new int[INPUT_COUNT+1] INPUT_COUNT+1 INPUT_COUNT 1 for(int i=0;i<=INPUT_COUNT;i++){
			num[i] = scan.nextInt();
		} int i=0; int i=0; i 0 i<=INPUT_COUNT i INPUT_COUNT i++ i++ i {
			num[i] = scan.nextInt();
		} {
			num[i] = scan.nextInt();
		} num[i] = scan.nextInt() num[i] num i scan.nextInt() scan.nextInt scan Arrays.sort(num) Arrays.sort Arrays num System.out.println(num[0] + " " + num[1] + " " + num[2]) System.out.println System.out System System.out num[0] + " " + num[1] + " " + num[2] " " num[1] num[0] + " " + num[1] + " " + num[2] num[0] num 0 " " num[1] num 1 " " num[2] num 2 scan.close() scan.close scan String args[] args public class Main {

	final static int INPUT_COUNT = 2;

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

		int num[] = new int[INPUT_COUNT+1];

		for(int i=0;i<=INPUT_COUNT;i++){
			num[i] = scan.nextInt();
		}

		Arrays.sort(num);

		System.out.println(num[0] + " " + num[1] + " " + num[2]);

		scan.close();

	}
} public class Main {

	final static int INPUT_COUNT = 2;

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

		int num[] = new int[INPUT_COUNT+1];

		for(int i=0;i<=INPUT_COUNT;i++){
			num[i] = scan.nextInt();
		}

		Arrays.sort(num);

		System.out.println(num[0] + " " + num[1] + " " + num[2]);

		scan.close();

	}
} Main
import java.util.Arrays;
import java.util.Scanner;

public class Main {

	final static int INPUT_COUNT = 2;

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

		int num[] = new int[INPUT_COUNT+1];

		for(int i=0;i<=INPUT_COUNT;i++){
			num[i] = scan.nextInt();
		}

		Arrays.sort(num);

		System.out.println(num[0] + " " + num[1] + " " + num[2]);

		scan.close();

	}
}