import java.util.Scanner;

public class Main {
	public static void main(String[] args)
	{
		Scanner scan = new Scanner(System.in);
		int[] array = new int[3];
		int box = 0;
		for(int i = 0;i < 3;i++)
		{
			array[i] = scan.nextInt();
		}
		
		for(int i = 0;i < 2;i++)
		{
			for(int j = i + 1;j < 3;j++)
			{
				if(array[i] > array[j])
				{
					box = array[i];
					array[i] = array[j];
					array[j] = box;
				}
			}
		}
		System.out.println(array[0] + " " + array[1] + " " + array[2]);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args)
	{
		Scanner scan = new Scanner(System.in);
		int[] array = new int[3];
		int box = 0;
		for(int i = 0;i < 3;i++)
		{
			array[i] = scan.nextInt();
		}
		
		for(int i = 0;i < 2;i++)
		{
			for(int j = i + 1;j < 3;j++)
			{
				if(array[i] > array[j])
				{
					box = array[i];
					array[i] = array[j];
					array[j] = box;
				}
			}
		}
		System.out.println(array[0] + " " + array[1] + " " + array[2]);
	}
} Main public static void main(String[] args)
	{
		Scanner scan = new Scanner(System.in);
		int[] array = new int[3];
		int box = 0;
		for(int i = 0;i < 3;i++)
		{
			array[i] = scan.nextInt();
		}
		
		for(int i = 0;i < 2;i++)
		{
			for(int j = i + 1;j < 3;j++)
			{
				if(array[i] > array[j])
				{
					box = array[i];
					array[i] = array[j];
					array[j] = box;
				}
			}
		}
		System.out.println(array[0] + " " + array[1] + " " + array[2]);
	} main {
		Scanner scan = new Scanner(System.in);
		int[] array = new int[3];
		int box = 0;
		for(int i = 0;i < 3;i++)
		{
			array[i] = scan.nextInt();
		}
		
		for(int i = 0;i < 2;i++)
		{
			for(int j = i + 1;j < 3;j++)
			{
				if(array[i] > array[j])
				{
					box = array[i];
					array[i] = array[j];
					array[j] = box;
				}
			}
		}
		System.out.println(array[0] + " " + array[1] + " " + array[2]);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int[] array = new int[3]; array new int[3] 3 int box = 0; box 0 for(int i = 0;i < 3;i++)
		{
			array[i] = scan.nextInt();
		} int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
			array[i] = scan.nextInt();
		} {
			array[i] = scan.nextInt();
		} array[i] = scan.nextInt() array[i] array i scan.nextInt() scan.nextInt scan for(int i = 0;i < 2;i++)
		{
			for(int j = i + 1;j < 3;j++)
			{
				if(array[i] > array[j])
				{
					box = array[i];
					array[i] = array[j];
					array[j] = box;
				}
			}
		} int i = 0; int i = 0; i 0 i < 2 i 2 i++ i++ i {
			for(int j = i + 1;j < 3;j++)
			{
				if(array[i] > array[j])
				{
					box = array[i];
					array[i] = array[j];
					array[j] = box;
				}
			}
		} {
			for(int j = i + 1;j < 3;j++)
			{
				if(array[i] > array[j])
				{
					box = array[i];
					array[i] = array[j];
					array[j] = box;
				}
			}
		} for(int j = i + 1;j < 3;j++)
			{
				if(array[i] > array[j])
				{
					box = array[i];
					array[i] = array[j];
					array[j] = box;
				}
			} int j = i + 1; int j = i + 1; j i + 1 i 1 j < 3 j 3 j++ j++ j {
				if(array[i] > array[j])
				{
					box = array[i];
					array[i] = array[j];
					array[j] = box;
				}
			} {
				if(array[i] > array[j])
				{
					box = array[i];
					array[i] = array[j];
					array[j] = box;
				}
			} if(array[i] > array[j])
				{
					box = array[i];
					array[i] = array[j];
					array[j] = box;
				} array[i] > array[j] array[i] array i array[j] array j {
					box = array[i];
					array[i] = array[j];
					array[j] = box;
				} box = array[i] box array[i] array i array[i] = array[j] array[i] array i array[j] array j array[j] = box array[j] array j box System.out.println(array[0] + " " + array[1] + " " + array[2]) System.out.println System.out System System.out array[0] + " " + array[1] + " " + array[2] " " array[1] array[0] + " " + array[1] + " " + array[2] array[0] array 0 " " array[1] array 1 " " array[2] array 2 String[] args args public class Main {
	public static void main(String[] args)
	{
		Scanner scan = new Scanner(System.in);
		int[] array = new int[3];
		int box = 0;
		for(int i = 0;i < 3;i++)
		{
			array[i] = scan.nextInt();
		}
		
		for(int i = 0;i < 2;i++)
		{
			for(int j = i + 1;j < 3;j++)
			{
				if(array[i] > array[j])
				{
					box = array[i];
					array[i] = array[j];
					array[j] = box;
				}
			}
		}
		System.out.println(array[0] + " " + array[1] + " " + array[2]);
	}
} public class Main {
	public static void main(String[] args)
	{
		Scanner scan = new Scanner(System.in);
		int[] array = new int[3];
		int box = 0;
		for(int i = 0;i < 3;i++)
		{
			array[i] = scan.nextInt();
		}
		
		for(int i = 0;i < 2;i++)
		{
			for(int j = i + 1;j < 3;j++)
			{
				if(array[i] > array[j])
				{
					box = array[i];
					array[i] = array[j];
					array[j] = box;
				}
			}
		}
		System.out.println(array[0] + " " + array[1] + " " + array[2]);
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args)
	{
		Scanner scan = new Scanner(System.in);
		int[] array = new int[3];
		int box = 0;
		for(int i = 0;i < 3;i++)
		{
			array[i] = scan.nextInt();
		}
		
		for(int i = 0;i < 2;i++)
		{
			for(int j = i + 1;j < 3;j++)
			{
				if(array[i] > array[j])
				{
					box = array[i];
					array[i] = array[j];
					array[j] = box;
				}
			}
		}
		System.out.println(array[0] + " " + array[1] + " " + array[2]);
	}
}