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

public class Main {

	public static void main (String[] args) {

		Scanner sc = new Scanner(System.in);
		
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		
		int[] nums = new int[]{a,b,c};
		
		Arrays.sort(nums);
		
		System.out.print(nums[0]);
		for (int i = 1; i < nums.length; i++)
			System.out.print(" " + nums[i]);
		
		System.out.println();
		
		sc.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 sc = new Scanner(System.in);
		
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		
		int[] nums = new int[]{a,b,c};
		
		Arrays.sort(nums);
		
		System.out.print(nums[0]);
		for (int i = 1; i < nums.length; i++)
			System.out.print(" " + nums[i]);
		
		System.out.println();
		
		sc.close();

	}

} Main public static void main (String[] args) {

		Scanner sc = new Scanner(System.in);
		
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		
		int[] nums = new int[]{a,b,c};
		
		Arrays.sort(nums);
		
		System.out.print(nums[0]);
		for (int i = 1; i < nums.length; i++)
			System.out.print(" " + nums[i]);
		
		System.out.println();
		
		sc.close();

	} main {

		Scanner sc = new Scanner(System.in);
		
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		
		int[] nums = new int[]{a,b,c};
		
		Arrays.sort(nums);
		
		System.out.print(nums[0]);
		for (int i = 1; i < nums.length; i++)
			System.out.print(" " + nums[i]);
		
		System.out.println();
		
		sc.close();

	} 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[] nums = new int[]{a,b,c}; nums new int[]{a,b,c} Arrays.sort(nums) Arrays.sort Arrays nums System.out.print(nums[0]) System.out.print System.out System System.out nums[0] nums 0 for (int i = 1; i < nums.length; i++)
			System.out.print(" " + nums[i]); int i = 1; int i = 1; i 1 i < nums.length i nums.length nums nums.length i++ i++ i System.out.print(" " + nums[i]); System.out.print(" " + nums[i]) System.out.print System.out System System.out " " + nums[i] " " nums[i] nums i System.out.println() System.out.println System.out System System.out sc.close() sc.close sc String[] args args public class Main {

	public static void main (String[] args) {

		Scanner sc = new Scanner(System.in);
		
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		
		int[] nums = new int[]{a,b,c};
		
		Arrays.sort(nums);
		
		System.out.print(nums[0]);
		for (int i = 1; i < nums.length; i++)
			System.out.print(" " + nums[i]);
		
		System.out.println();
		
		sc.close();

	}

} public class Main {

	public static void main (String[] args) {

		Scanner sc = new Scanner(System.in);
		
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		
		int[] nums = new int[]{a,b,c};
		
		Arrays.sort(nums);
		
		System.out.print(nums[0]);
		for (int i = 1; i < nums.length; i++)
			System.out.print(" " + nums[i]);
		
		System.out.println();
		
		sc.close();

	}

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

public class Main {

	public static void main (String[] args) {

		Scanner sc = new Scanner(System.in);
		
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		
		int[] nums = new int[]{a,b,c};
		
		Arrays.sort(nums);
		
		System.out.print(nums[0]);
		for (int i = 1; i < nums.length; i++)
			System.out.print(" " + nums[i]);
		
		System.out.println();
		
		sc.close();

	}

}