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

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

		int s[]=new int[3];
		int i,j;
		j = 0;
		Scanner sc = new Scanner(System.in);
		
		for(i=0;i<s.length;i++){
		s[i]= sc.nextInt();
		}
		
		Arrays.sort(s);
		
		System.out.println(s[0] + " " + s[1] + " " + s[2]);
		
		
	}

} import java.util.Scanner; Scanner java.util import java.util.Arrays; Arrays java.util class Main{
	
	public static void main(String[] args){

		int s[]=new int[3];
		int i,j;
		j = 0;
		Scanner sc = new Scanner(System.in);
		
		for(i=0;i<s.length;i++){
		s[i]= sc.nextInt();
		}
		
		Arrays.sort(s);
		
		System.out.println(s[0] + " " + s[1] + " " + s[2]);
		
		
	}

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

		int s[]=new int[3];
		int i,j;
		j = 0;
		Scanner sc = new Scanner(System.in);
		
		for(i=0;i<s.length;i++){
		s[i]= sc.nextInt();
		}
		
		Arrays.sort(s);
		
		System.out.println(s[0] + " " + s[1] + " " + s[2]);
		
		
	} main {

		int s[]=new int[3];
		int i,j;
		j = 0;
		Scanner sc = new Scanner(System.in);
		
		for(i=0;i<s.length;i++){
		s[i]= sc.nextInt();
		}
		
		Arrays.sort(s);
		
		System.out.println(s[0] + " " + s[1] + " " + s[2]);
		
		
	} int s[]=new int[3]; s new int[3] 3 int i i j; j j = 0 j 0 Scanner sc = new Scanner(System.in); sc new Scanner(System.in) for(i=0;i<s.length;i++){
		s[i]= sc.nextInt();
		} i=0; i=0 i 0 i<s.length i s.length s s.length i++ i++ i {
		s[i]= sc.nextInt();
		} {
		s[i]= sc.nextInt();
		} s[i]= sc.nextInt() s[i] s i sc.nextInt() sc.nextInt sc Arrays.sort(s) Arrays.sort Arrays s System.out.println(s[0] + " " + s[1] + " " + s[2]) System.out.println System.out System System.out s[0] + " " + s[1] + " " + s[2] " " s[1] s[0] + " " + s[1] + " " + s[2] s[0] s 0 " " s[1] s 1 " " s[2] s 2 String[] args args
import java.util.Scanner;
import java.util.Arrays;

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

		int s[]=new int[3];
		int i,j;
		j = 0;
		Scanner sc = new Scanner(System.in);
		
		for(i=0;i<s.length;i++){
		s[i]= sc.nextInt();
		}
		
		Arrays.sort(s);
		
		System.out.println(s[0] + " " + s[1] + " " + s[2]);
		
		
	}

}