import java.util.Scanner;
public class Main {
	public static void main(String[] args) {
		Scanner x = new Scanner(System.in);
		int a = x.nextInt();
		int b = x.nextInt();
		int c = x.nextInt();
		int[] price = {a,b,c,0};
		for (int n = 3 ; n >= 0 ; n--){
		for (int i = 0 ; i < n ; i++){
			if(price[i] > price[i+1]){
				price[3] = price[i];
				price[i] = price[i+1];
				price[i+1] = price[3];
			}
		}
	 }
		System.out.println(price[0]+" " + price[1]+" " + price[2]);	
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner x = new Scanner(System.in);
		int a = x.nextInt();
		int b = x.nextInt();
		int c = x.nextInt();
		int[] price = {a,b,c,0};
		for (int n = 3 ; n >= 0 ; n--){
		for (int i = 0 ; i < n ; i++){
			if(price[i] > price[i+1]){
				price[3] = price[i];
				price[i] = price[i+1];
				price[i+1] = price[3];
			}
		}
	 }
		System.out.println(price[0]+" " + price[1]+" " + price[2]);	
	}
} Main public static void main(String[] args) {
		Scanner x = new Scanner(System.in);
		int a = x.nextInt();
		int b = x.nextInt();
		int c = x.nextInt();
		int[] price = {a,b,c,0};
		for (int n = 3 ; n >= 0 ; n--){
		for (int i = 0 ; i < n ; i++){
			if(price[i] > price[i+1]){
				price[3] = price[i];
				price[i] = price[i+1];
				price[i+1] = price[3];
			}
		}
	 }
		System.out.println(price[0]+" " + price[1]+" " + price[2]);	
	} main {
		Scanner x = new Scanner(System.in);
		int a = x.nextInt();
		int b = x.nextInt();
		int c = x.nextInt();
		int[] price = {a,b,c,0};
		for (int n = 3 ; n >= 0 ; n--){
		for (int i = 0 ; i < n ; i++){
			if(price[i] > price[i+1]){
				price[3] = price[i];
				price[i] = price[i+1];
				price[i+1] = price[3];
			}
		}
	 }
		System.out.println(price[0]+" " + price[1]+" " + price[2]);	
	} Scanner x = new Scanner(System.in); x new Scanner(System.in) int a = x.nextInt(); a x.nextInt() x.nextInt x int b = x.nextInt(); b x.nextInt() x.nextInt x int c = x.nextInt(); c x.nextInt() x.nextInt x int[] price = {a,b,c,0}; price {a,b,c,0} a b c 0 for (int n = 3 ; n >= 0 ; n--){
		for (int i = 0 ; i < n ; i++){
			if(price[i] > price[i+1]){
				price[3] = price[i];
				price[i] = price[i+1];
				price[i+1] = price[3];
			}
		}
	 } int n = 3 ; int n = 3 ; n 3 n >= 0 n 0 n-- n-- n {
		for (int i = 0 ; i < n ; i++){
			if(price[i] > price[i+1]){
				price[3] = price[i];
				price[i] = price[i+1];
				price[i+1] = price[3];
			}
		}
	 } {
		for (int i = 0 ; i < n ; i++){
			if(price[i] > price[i+1]){
				price[3] = price[i];
				price[i] = price[i+1];
				price[i+1] = price[3];
			}
		}
	 } for (int i = 0 ; i < n ; i++){
			if(price[i] > price[i+1]){
				price[3] = price[i];
				price[i] = price[i+1];
				price[i+1] = price[3];
			}
		} int i = 0 ; int i = 0 ; i 0 i < n i n i++ i++ i {
			if(price[i] > price[i+1]){
				price[3] = price[i];
				price[i] = price[i+1];
				price[i+1] = price[3];
			}
		} {
			if(price[i] > price[i+1]){
				price[3] = price[i];
				price[i] = price[i+1];
				price[i+1] = price[3];
			}
		} if(price[i] > price[i+1]){
				price[3] = price[i];
				price[i] = price[i+1];
				price[i+1] = price[3];
			} price[i] > price[i+1] price[i] price i price[i+1] price i+1 i 1 {
				price[3] = price[i];
				price[i] = price[i+1];
				price[i+1] = price[3];
			} price[3] = price[i] price[3] price 3 price[i] price i price[i] = price[i+1] price[i] price i price[i+1] price i+1 i 1 price[i+1] = price[3] price[i+1] price i+1 i 1 price[3] price 3 System.out.println(price[0]+" " + price[1]+" " + price[2]) System.out.println System.out System System.out price[0]+" " + price[1]+" " + price[2] " " price[1] price[0]+" " + price[1]+" " + price[2] price[0] price 0 " " price[1] price 1 " " price[2] price 2 String[] args args public class Main {
	public static void main(String[] args) {
		Scanner x = new Scanner(System.in);
		int a = x.nextInt();
		int b = x.nextInt();
		int c = x.nextInt();
		int[] price = {a,b,c,0};
		for (int n = 3 ; n >= 0 ; n--){
		for (int i = 0 ; i < n ; i++){
			if(price[i] > price[i+1]){
				price[3] = price[i];
				price[i] = price[i+1];
				price[i+1] = price[3];
			}
		}
	 }
		System.out.println(price[0]+" " + price[1]+" " + price[2]);	
	}
} public class Main {
	public static void main(String[] args) {
		Scanner x = new Scanner(System.in);
		int a = x.nextInt();
		int b = x.nextInt();
		int c = x.nextInt();
		int[] price = {a,b,c,0};
		for (int n = 3 ; n >= 0 ; n--){
		for (int i = 0 ; i < n ; i++){
			if(price[i] > price[i+1]){
				price[3] = price[i];
				price[i] = price[i+1];
				price[i+1] = price[3];
			}
		}
	 }
		System.out.println(price[0]+" " + price[1]+" " + price[2]);	
	}
} Main
import java.util.Scanner;
public class Main {
	public static void main(String[] args) {
		Scanner x = new Scanner(System.in);
		int a = x.nextInt();
		int b = x.nextInt();
		int c = x.nextInt();
		int[] price = {a,b,c,0};
		for (int n = 3 ; n >= 0 ; n--){
		for (int i = 0 ; i < n ; i++){
			if(price[i] > price[i+1]){
				price[3] = price[i];
				price[i] = price[i+1];
				price[i+1] = price[3];
			}
		}
	 }
		System.out.println(price[0]+" " + price[1]+" " + price[2]);	
	}
}