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

public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);		
		
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();

		int num[] = {a, b, c};
		
		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 {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);		
		
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();

		int num[] = {a, b, c};
		
		Arrays.sort(num);
		
		System.out.println(num[0] + " " + num[1] + " " + num[2]);

		scan.close();

	}

} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);		
		
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();

		int num[] = {a, b, c};
		
		Arrays.sort(num);
		
		System.out.println(num[0] + " " + num[1] + " " + num[2]);

		scan.close();

	} main {
		Scanner scan = new Scanner(System.in);		
		
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();

		int num[] = {a, b, c};
		
		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 a = scan.nextInt(); a scan.nextInt() scan.nextInt scan int b = scan.nextInt(); b scan.nextInt() scan.nextInt scan int c = scan.nextInt(); c scan.nextInt() scan.nextInt scan int num[] = {a, b, c}; num {a, b, c} a b c 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 {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);		
		
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();

		int num[] = {a, b, c};
		
		Arrays.sort(num);
		
		System.out.println(num[0] + " " + num[1] + " " + num[2]);

		scan.close();

	}

} public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);		
		
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();

		int num[] = {a, b, c};
		
		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 {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);		
		
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();

		int num[] = {a, b, c};
		
		Arrays.sort(num);
		
		System.out.println(num[0] + " " + num[1] + " " + num[2]);

		scan.close();

	}

}