import java.util.*;

public class Main{

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

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

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

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

public class Main{

	public static void main(String[] args) throws java.io.IOException{
		int tmp;
		int[] x;
		x = new int[3];
		Scanner in = new Scanner(System.in);
		for(int i = 0; i < 3; i++){
			x[i] = in.nextInt();
		}
		for(int a = 2; a > 0; a--){
			for(int b = 0; b < a; b++){
				if(x[b] > x[b+1]){
					tmp = x[b];
					x[b] = x[b+1];
					x[b+1] = tmp;
				}
			}
		}
		System.out.println(x[0] + " " + x[1] + " " + x[2]);
	}
}