import java.util.Arrays;

public class Main {
public static void main(String[] args){
	
	String[] input = new java.util.Scanner ( System.in ). nextLine().split(" ");
	int a = Integer.parseInt(input[0]);
	int b = Integer.parseInt(input[1]);
	int c = Integer.parseInt(input[2]);
	int[] an = new int[]{a, b, c};
	Arrays.sort(an);
	for (int i = 0; i < an.length; i++)
	{
		System.out.print(an[i]);
		if (i != 2)
			System.out.print(" ");
		if (i == 2)
			System.out.println();
	}
	
	
	
	
}
} import java.util.Arrays; Arrays java.util public class Main {
public static void main(String[] args){
	
	String[] input = new java.util.Scanner ( System.in ). nextLine().split(" ");
	int a = Integer.parseInt(input[0]);
	int b = Integer.parseInt(input[1]);
	int c = Integer.parseInt(input[2]);
	int[] an = new int[]{a, b, c};
	Arrays.sort(an);
	for (int i = 0; i < an.length; i++)
	{
		System.out.print(an[i]);
		if (i != 2)
			System.out.print(" ");
		if (i == 2)
			System.out.println();
	}
	
	
	
	
}
} Main public static void main(String[] args){
	
	String[] input = new java.util.Scanner ( System.in ). nextLine().split(" ");
	int a = Integer.parseInt(input[0]);
	int b = Integer.parseInt(input[1]);
	int c = Integer.parseInt(input[2]);
	int[] an = new int[]{a, b, c};
	Arrays.sort(an);
	for (int i = 0; i < an.length; i++)
	{
		System.out.print(an[i]);
		if (i != 2)
			System.out.print(" ");
		if (i == 2)
			System.out.println();
	}
	
	
	
	
} main {
	
	String[] input = new java.util.Scanner ( System.in ). nextLine().split(" ");
	int a = Integer.parseInt(input[0]);
	int b = Integer.parseInt(input[1]);
	int c = Integer.parseInt(input[2]);
	int[] an = new int[]{a, b, c};
	Arrays.sort(an);
	for (int i = 0; i < an.length; i++)
	{
		System.out.print(an[i]);
		if (i != 2)
			System.out.print(" ");
		if (i == 2)
			System.out.println();
	}
	
	
	
	
} String[] input = new java.util.Scanner ( System.in ). nextLine().split(" "); input new java.util.Scanner ( System.in ). nextLine().split(" ") new java.util.Scanner ( System.in ). nextLine().split new java.util.Scanner ( System.in ). nextLine() new java.util.Scanner ( System.in ). nextLine new java.util.Scanner ( System.in ) " " int a = Integer.parseInt(input[0]); a Integer.parseInt(input[0]) Integer.parseInt Integer input[0] input 0 int b = Integer.parseInt(input[1]); b Integer.parseInt(input[1]) Integer.parseInt Integer input[1] input 1 int c = Integer.parseInt(input[2]); c Integer.parseInt(input[2]) Integer.parseInt Integer input[2] input 2 int[] an = new int[]{a, b, c}; an new int[]{a, b, c} Arrays.sort(an) Arrays.sort Arrays an for (int i = 0; i < an.length; i++)
	{
		System.out.print(an[i]);
		if (i != 2)
			System.out.print(" ");
		if (i == 2)
			System.out.println();
	} int i = 0; int i = 0; i 0 i < an.length i an.length an an.length i++ i++ i {
		System.out.print(an[i]);
		if (i != 2)
			System.out.print(" ");
		if (i == 2)
			System.out.println();
	} {
		System.out.print(an[i]);
		if (i != 2)
			System.out.print(" ");
		if (i == 2)
			System.out.println();
	} System.out.print(an[i]) System.out.print System.out System System.out an[i] an i if (i != 2)
			System.out.print(" "); i != 2 i 2 System.out.print(" ") System.out.print System.out System System.out " " if (i == 2)
			System.out.println(); i == 2 i 2 System.out.println() System.out.println System.out System System.out String[] args args public class Main {
public static void main(String[] args){
	
	String[] input = new java.util.Scanner ( System.in ). nextLine().split(" ");
	int a = Integer.parseInt(input[0]);
	int b = Integer.parseInt(input[1]);
	int c = Integer.parseInt(input[2]);
	int[] an = new int[]{a, b, c};
	Arrays.sort(an);
	for (int i = 0; i < an.length; i++)
	{
		System.out.print(an[i]);
		if (i != 2)
			System.out.print(" ");
		if (i == 2)
			System.out.println();
	}
	
	
	
	
}
} public class Main {
public static void main(String[] args){
	
	String[] input = new java.util.Scanner ( System.in ). nextLine().split(" ");
	int a = Integer.parseInt(input[0]);
	int b = Integer.parseInt(input[1]);
	int c = Integer.parseInt(input[2]);
	int[] an = new int[]{a, b, c};
	Arrays.sort(an);
	for (int i = 0; i < an.length; i++)
	{
		System.out.print(an[i]);
		if (i != 2)
			System.out.print(" ");
		if (i == 2)
			System.out.println();
	}
	
	
	
	
}
} Main
import java.util.Arrays;

public class Main {
public static void main(String[] args){
	
	String[] input = new java.util.Scanner ( System.in ). nextLine().split(" ");
	int a = Integer.parseInt(input[0]);
	int b = Integer.parseInt(input[1]);
	int c = Integer.parseInt(input[2]);
	int[] an = new int[]{a, b, c};
	Arrays.sort(an);
	for (int i = 0; i < an.length; i++)
	{
		System.out.print(an[i]);
		if (i != 2)
			System.out.print(" ");
		if (i == 2)
			System.out.println();
	}
	
	
	
	
}
}