import java.util.Scanner;

public class Main
{

	public static void main(String[] args)
	{
		Scanner in = new Scanner(System.in);
		int a[] = new int[3];
		for (int i = 0; i < a.length; i++)
			a[i] = in.nextInt();

		for (int i = a.length - 1; i > 0; i--)
		{
			for (int j = i - 1; j >= 0; j--)
			{
				if (a[j] > a[i])
				{
					int temp = a[i];
					a[i] = a[j];
					a[j] = temp;
				}
			}
		}
System.out.println(a[0] + " " + a[1] + " " + a[2]);

	}

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

	public static void main(String[] args)
	{
		Scanner in = new Scanner(System.in);
		int a[] = new int[3];
		for (int i = 0; i < a.length; i++)
			a[i] = in.nextInt();

		for (int i = a.length - 1; i > 0; i--)
		{
			for (int j = i - 1; j >= 0; j--)
			{
				if (a[j] > a[i])
				{
					int temp = a[i];
					a[i] = a[j];
					a[j] = temp;
				}
			}
		}
System.out.println(a[0] + " " + a[1] + " " + a[2]);

	}

} Main public static void main(String[] args)
	{
		Scanner in = new Scanner(System.in);
		int a[] = new int[3];
		for (int i = 0; i < a.length; i++)
			a[i] = in.nextInt();

		for (int i = a.length - 1; i > 0; i--)
		{
			for (int j = i - 1; j >= 0; j--)
			{
				if (a[j] > a[i])
				{
					int temp = a[i];
					a[i] = a[j];
					a[j] = temp;
				}
			}
		}
System.out.println(a[0] + " " + a[1] + " " + a[2]);

	} main {
		Scanner in = new Scanner(System.in);
		int a[] = new int[3];
		for (int i = 0; i < a.length; i++)
			a[i] = in.nextInt();

		for (int i = a.length - 1; i > 0; i--)
		{
			for (int j = i - 1; j >= 0; j--)
			{
				if (a[j] > a[i])
				{
					int temp = a[i];
					a[i] = a[j];
					a[j] = temp;
				}
			}
		}
System.out.println(a[0] + " " + a[1] + " " + a[2]);

	} Scanner in = new Scanner(System.in); in new Scanner(System.in) int a[] = new int[3]; a new int[3] 3 for (int i = 0; i < a.length; i++)
			a[i] = in.nextInt(); int i = 0; int i = 0; i 0 i < a.length i a.length a a.length i++ i++ i a[i] = in.nextInt(); a[i] = in.nextInt() a[i] a i in.nextInt() in.nextInt in for (int i = a.length - 1; i > 0; i--)
		{
			for (int j = i - 1; j >= 0; j--)
			{
				if (a[j] > a[i])
				{
					int temp = a[i];
					a[i] = a[j];
					a[j] = temp;
				}
			}
		} int i = a.length - 1; int i = a.length - 1; i a.length - 1 a.length a a.length 1 i > 0 i 0 i-- i-- i {
			for (int j = i - 1; j >= 0; j--)
			{
				if (a[j] > a[i])
				{
					int temp = a[i];
					a[i] = a[j];
					a[j] = temp;
				}
			}
		} {
			for (int j = i - 1; j >= 0; j--)
			{
				if (a[j] > a[i])
				{
					int temp = a[i];
					a[i] = a[j];
					a[j] = temp;
				}
			}
		} for (int j = i - 1; j >= 0; j--)
			{
				if (a[j] > a[i])
				{
					int temp = a[i];
					a[i] = a[j];
					a[j] = temp;
				}
			} int j = i - 1; int j = i - 1; j i - 1 i 1 j >= 0 j 0 j-- j-- j {
				if (a[j] > a[i])
				{
					int temp = a[i];
					a[i] = a[j];
					a[j] = temp;
				}
			} {
				if (a[j] > a[i])
				{
					int temp = a[i];
					a[i] = a[j];
					a[j] = temp;
				}
			} if (a[j] > a[i])
				{
					int temp = a[i];
					a[i] = a[j];
					a[j] = temp;
				} a[j] > a[i] a[j] a j a[i] a i {
					int temp = a[i];
					a[i] = a[j];
					a[j] = temp;
				} int temp = a[i]; temp a[i] a i a[i] = a[j] a[i] a i a[j] a j a[j] = temp a[j] a j temp System.out.println(a[0] + " " + a[1] + " " + a[2]) System.out.println System.out System System.out a[0] + " " + a[1] + " " + a[2] " " a[1] a[0] + " " + a[1] + " " + a[2] a[0] a 0 " " a[1] a 1 " " a[2] a 2 String[] args args public class Main
{

	public static void main(String[] args)
	{
		Scanner in = new Scanner(System.in);
		int a[] = new int[3];
		for (int i = 0; i < a.length; i++)
			a[i] = in.nextInt();

		for (int i = a.length - 1; i > 0; i--)
		{
			for (int j = i - 1; j >= 0; j--)
			{
				if (a[j] > a[i])
				{
					int temp = a[i];
					a[i] = a[j];
					a[j] = temp;
				}
			}
		}
System.out.println(a[0] + " " + a[1] + " " + a[2]);

	}

} public class Main
{

	public static void main(String[] args)
	{
		Scanner in = new Scanner(System.in);
		int a[] = new int[3];
		for (int i = 0; i < a.length; i++)
			a[i] = in.nextInt();

		for (int i = a.length - 1; i > 0; i--)
		{
			for (int j = i - 1; j >= 0; j--)
			{
				if (a[j] > a[i])
				{
					int temp = a[i];
					a[i] = a[j];
					a[j] = temp;
				}
			}
		}
System.out.println(a[0] + " " + a[1] + " " + a[2]);

	}

} Main
import java.util.Scanner;

public class Main
{

	public static void main(String[] args)
	{
		Scanner in = new Scanner(System.in);
		int a[] = new int[3];
		for (int i = 0; i < a.length; i++)
			a[i] = in.nextInt();

		for (int i = a.length - 1; i > 0; i--)
		{
			for (int j = i - 1; j >= 0; j--)
			{
				if (a[j] > a[i])
				{
					int temp = a[i];
					a[i] = a[j];
					a[j] = temp;
				}
			}
		}
System.out.println(a[0] + " " + a[1] + " " + a[2]);

	}

}