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

public class Main{
	public static void main(String[] args){
		int[] a = new int[3];
		Scanner in = new Scanner(System.in);
		
		for(int i=0; i<3; i++){
			a[i] = in.nextInt();
		}
		
		Arrays.sort(a);
		
		System.out.println(a[0]+" "+a[1]+" "+a[2]);
		
		in.close();
	}
} import java.util.Scanner; Scanner java.util import java.util.Arrays; Arrays java.util public class Main{
	public static void main(String[] args){
		int[] a = new int[3];
		Scanner in = new Scanner(System.in);
		
		for(int i=0; i<3; i++){
			a[i] = in.nextInt();
		}
		
		Arrays.sort(a);
		
		System.out.println(a[0]+" "+a[1]+" "+a[2]);
		
		in.close();
	}
} Main public static void main(String[] args){
		int[] a = new int[3];
		Scanner in = new Scanner(System.in);
		
		for(int i=0; i<3; i++){
			a[i] = in.nextInt();
		}
		
		Arrays.sort(a);
		
		System.out.println(a[0]+" "+a[1]+" "+a[2]);
		
		in.close();
	} main {
		int[] a = new int[3];
		Scanner in = new Scanner(System.in);
		
		for(int i=0; i<3; i++){
			a[i] = in.nextInt();
		}
		
		Arrays.sort(a);
		
		System.out.println(a[0]+" "+a[1]+" "+a[2]);
		
		in.close();
	} int[] a = new int[3]; a new int[3] 3 Scanner in = new Scanner(System.in); in new Scanner(System.in) for(int i=0; i<3; i++){
			a[i] = in.nextInt();
		} int i=0; int i=0; i 0 i<3 i 3 i++ i++ i {
			a[i] = in.nextInt();
		} {
			a[i] = in.nextInt();
		} a[i] = in.nextInt() a[i] a i in.nextInt() in.nextInt in Arrays.sort(a) Arrays.sort Arrays a 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 in.close() in.close in String[] args args public class Main{
	public static void main(String[] args){
		int[] a = new int[3];
		Scanner in = new Scanner(System.in);
		
		for(int i=0; i<3; i++){
			a[i] = in.nextInt();
		}
		
		Arrays.sort(a);
		
		System.out.println(a[0]+" "+a[1]+" "+a[2]);
		
		in.close();
	}
} public class Main{
	public static void main(String[] args){
		int[] a = new int[3];
		Scanner in = new Scanner(System.in);
		
		for(int i=0; i<3; i++){
			a[i] = in.nextInt();
		}
		
		Arrays.sort(a);
		
		System.out.println(a[0]+" "+a[1]+" "+a[2]);
		
		in.close();
	}
} Main
import java.util.Scanner;
import java.util.Arrays;

public class Main{
	public static void main(String[] args){
		int[] a = new int[3];
		Scanner in = new Scanner(System.in);
		
		for(int i=0; i<3; i++){
			a[i] = in.nextInt();
		}
		
		Arrays.sort(a);
		
		System.out.println(a[0]+" "+a[1]+" "+a[2]);
		
		in.close();
	}
}