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


public class Main {
	
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
		
		long[] inputs = new long[3];
		for(int i = 0; i < 3; i++){
			inputs[i] = sc.nextLong();
		}
		
		Arrays.sort(inputs);
		
		
		for(int i = 0; i < 3; i++){
			System.out.print(inputs[i] + ((i != 2) ? " " : ""));
		}
		System.out.println();
		
		
	}
	
} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {
	
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
		
		long[] inputs = new long[3];
		for(int i = 0; i < 3; i++){
			inputs[i] = sc.nextLong();
		}
		
		Arrays.sort(inputs);
		
		
		for(int i = 0; i < 3; i++){
			System.out.print(inputs[i] + ((i != 2) ? " " : ""));
		}
		System.out.println();
		
		
	}
	
} Main public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
		
		long[] inputs = new long[3];
		for(int i = 0; i < 3; i++){
			inputs[i] = sc.nextLong();
		}
		
		Arrays.sort(inputs);
		
		
		for(int i = 0; i < 3; i++){
			System.out.print(inputs[i] + ((i != 2) ? " " : ""));
		}
		System.out.println();
		
		
	} main {
		Scanner sc = new Scanner(System.in);
		
		long[] inputs = new long[3];
		for(int i = 0; i < 3; i++){
			inputs[i] = sc.nextLong();
		}
		
		Arrays.sort(inputs);
		
		
		for(int i = 0; i < 3; i++){
			System.out.print(inputs[i] + ((i != 2) ? " " : ""));
		}
		System.out.println();
		
		
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long[] inputs = new long[3]; inputs new long[3] 3 for(int i = 0; i < 3; i++){
			inputs[i] = sc.nextLong();
		} int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
			inputs[i] = sc.nextLong();
		} {
			inputs[i] = sc.nextLong();
		} inputs[i] = sc.nextLong() inputs[i] inputs i sc.nextLong() sc.nextLong sc Arrays.sort(inputs) Arrays.sort Arrays inputs for(int i = 0; i < 3; i++){
			System.out.print(inputs[i] + ((i != 2) ? " " : ""));
		} int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
			System.out.print(inputs[i] + ((i != 2) ? " " : ""));
		} {
			System.out.print(inputs[i] + ((i != 2) ? " " : ""));
		} System.out.print(inputs[i] + ((i != 2) ? " " : "")) System.out.print System.out System System.out inputs[i] + ((i != 2) ? " " : "") inputs[i] inputs i ((i != 2) ? " " : "") (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[]){
		Scanner sc = new Scanner(System.in);
		
		long[] inputs = new long[3];
		for(int i = 0; i < 3; i++){
			inputs[i] = sc.nextLong();
		}
		
		Arrays.sort(inputs);
		
		
		for(int i = 0; i < 3; i++){
			System.out.print(inputs[i] + ((i != 2) ? " " : ""));
		}
		System.out.println();
		
		
	}
	
} public class Main {
	
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
		
		long[] inputs = new long[3];
		for(int i = 0; i < 3; i++){
			inputs[i] = sc.nextLong();
		}
		
		Arrays.sort(inputs);
		
		
		for(int i = 0; i < 3; i++){
			System.out.print(inputs[i] + ((i != 2) ? " " : ""));
		}
		System.out.println();
		
		
	}
	
} Main
import java.util.Arrays;
import java.util.Scanner;


public class Main {
	
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
		
		long[] inputs = new long[3];
		for(int i = 0; i < 3; i++){
			inputs[i] = sc.nextLong();
		}
		
		Arrays.sort(inputs);
		
		
		for(int i = 0; i < 3; i++){
			System.out.print(inputs[i] + ((i != 2) ? " " : ""));
		}
		System.out.println();
		
		
	}
	
}