import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		int a = stdIn.nextInt();
		int b = stdIn.nextInt();
		int c = stdIn.nextInt();
		int t;
		
		if (a > b) {
			t = a;
			a = b;
			b = t;
		} 
		
		if (b > c) {
			t = b;
			b = c;
			c = t;
		}
		
		if (b < a) {
			t = b;
			b = a;
			a = t;
		}
		
		System.out.println(a + " " + b + " " + c);
	}

}
 import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		int a = stdIn.nextInt();
		int b = stdIn.nextInt();
		int c = stdIn.nextInt();
		int t;
		
		if (a > b) {
			t = a;
			a = b;
			b = t;
		} 
		
		if (b > c) {
			t = b;
			b = c;
			c = t;
		}
		
		if (b < a) {
			t = b;
			b = a;
			a = t;
		}
		
		System.out.println(a + " " + b + " " + c);
	}

} Main public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		int a = stdIn.nextInt();
		int b = stdIn.nextInt();
		int c = stdIn.nextInt();
		int t;
		
		if (a > b) {
			t = a;
			a = b;
			b = t;
		} 
		
		if (b > c) {
			t = b;
			b = c;
			c = t;
		}
		
		if (b < a) {
			t = b;
			b = a;
			a = t;
		}
		
		System.out.println(a + " " + b + " " + c);
	} main {
		Scanner stdIn = new Scanner(System.in);
		int a = stdIn.nextInt();
		int b = stdIn.nextInt();
		int c = stdIn.nextInt();
		int t;
		
		if (a > b) {
			t = a;
			a = b;
			b = t;
		} 
		
		if (b > c) {
			t = b;
			b = c;
			c = t;
		}
		
		if (b < a) {
			t = b;
			b = a;
			a = t;
		}
		
		System.out.println(a + " " + b + " " + c);
	} Scanner stdIn = new Scanner(System.in); stdIn new Scanner(System.in) int a = stdIn.nextInt(); a stdIn.nextInt() stdIn.nextInt stdIn int b = stdIn.nextInt(); b stdIn.nextInt() stdIn.nextInt stdIn int c = stdIn.nextInt(); c stdIn.nextInt() stdIn.nextInt stdIn int t; t if (a > b) {
			t = a;
			a = b;
			b = t;
		} a > b a b {
			t = a;
			a = b;
			b = t;
		} t = a t a a = b a b b = t b t if (b > c) {
			t = b;
			b = c;
			c = t;
		} b > c b c {
			t = b;
			b = c;
			c = t;
		} t = b t b b = c b c c = t c t if (b < a) {
			t = b;
			b = a;
			a = t;
		} b < a b a {
			t = b;
			b = a;
			a = t;
		} t = b t b b = a b a a = t a t System.out.println(a + " " + b + " " + c) System.out.println System.out System System.out a + " " + b + " " + c " " b a + " " + b + " " + c a " " b " " c String[] args args public class Main {

	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		int a = stdIn.nextInt();
		int b = stdIn.nextInt();
		int c = stdIn.nextInt();
		int t;
		
		if (a > b) {
			t = a;
			a = b;
			b = t;
		} 
		
		if (b > c) {
			t = b;
			b = c;
			c = t;
		}
		
		if (b < a) {
			t = b;
			b = a;
			a = t;
		}
		
		System.out.println(a + " " + b + " " + c);
	}

} public class Main {

	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		int a = stdIn.nextInt();
		int b = stdIn.nextInt();
		int c = stdIn.nextInt();
		int t;
		
		if (a > b) {
			t = a;
			a = b;
			b = t;
		} 
		
		if (b > c) {
			t = b;
			b = c;
			c = t;
		}
		
		if (b < a) {
			t = b;
			b = a;
			a = t;
		}
		
		System.out.println(a + " " + b + " " + c);
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		int a = stdIn.nextInt();
		int b = stdIn.nextInt();
		int c = stdIn.nextInt();
		int t;
		
		if (a > b) {
			t = a;
			a = b;
			b = t;
		} 
		
		if (b > c) {
			t = b;
			b = c;
			c = t;
		}
		
		if (b < a) {
			t = b;
			b = a;
			a = t;
		}
		
		System.out.println(a + " " + b + " " + c);
	}

}

