import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) throws IOException {
		
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		//String str = "10 9 4";
		int x;
		String[] num = str.split(" ", 0);
		int a = Integer.parseInt(num[0]); //3
		int b = Integer.parseInt(num[1]); //8
		int c = Integer.parseInt(num[2]); //1

		if (a > b) {
			x = a;
			a = b;
			b = x;
		}
		if (b > c){
			x = b;
			b = c;
			c = x;
		}		
		if (a > b) {
			x = a;
			a = b;
			b = x;
		}
		System.out.println(a + " " + b + " " + c);
        }
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
	public static void main(String[] args) throws IOException {
		
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		//String str = "10 9 4";
		int x;
		String[] num = str.split(" ", 0);
		int a = Integer.parseInt(num[0]); //3
		int b = Integer.parseInt(num[1]); //8
		int c = Integer.parseInt(num[2]); //1

		if (a > b) {
			x = a;
			a = b;
			b = x;
		}
		if (b > c){
			x = b;
			b = c;
			c = x;
		}		
		if (a > b) {
			x = a;
			a = b;
			b = x;
		}
		System.out.println(a + " " + b + " " + c);
        }
} Main public static void main(String[] args) throws IOException {
		
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		//String str = "10 9 4";
		int x;
		String[] num = str.split(" ", 0);
		int a = Integer.parseInt(num[0]); //3
		int b = Integer.parseInt(num[1]); //8
		int c = Integer.parseInt(num[2]); //1

		if (a > b) {
			x = a;
			a = b;
			b = x;
		}
		if (b > c){
			x = b;
			b = c;
			c = x;
		}		
		if (a > b) {
			x = a;
			a = b;
			b = x;
		}
		System.out.println(a + " " + b + " " + c);
        } main {
		
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		//String str = "10 9 4";
		int x;
		String[] num = str.split(" ", 0);
		int a = Integer.parseInt(num[0]); //3
		int b = Integer.parseInt(num[1]); //8
		int c = Integer.parseInt(num[2]); //1

		if (a > b) {
			x = a;
			a = b;
			b = x;
		}
		if (b > c){
			x = b;
			b = c;
			c = x;
		}		
		if (a > b) {
			x = a;
			a = b;
			b = x;
		}
		System.out.println(a + " " + b + " " + c);
        } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str = br.readLine(); str br.readLine() br.readLine br int x; x String[] num = str.split(" ", 0); num str.split(" ", 0) str.split str " " 0 int a = Integer.parseInt(num[0]); a Integer.parseInt(num[0]) Integer.parseInt Integer num[0] num 0 int b = Integer.parseInt(num[1]); b Integer.parseInt(num[1]) Integer.parseInt Integer num[1] num 1 int c = Integer.parseInt(num[2]); c Integer.parseInt(num[2]) Integer.parseInt Integer num[2] num 2 if (a > b) {
			x = a;
			a = b;
			b = x;
		} a > b a b {
			x = a;
			a = b;
			b = x;
		} x = a x a a = b a b b = x b x if (b > c){
			x = b;
			b = c;
			c = x;
		} b > c b c {
			x = b;
			b = c;
			c = x;
		} x = b x b b = c b c c = x c x if (a > b) {
			x = a;
			a = b;
			b = x;
		} a > b a b {
			x = a;
			a = b;
			b = x;
		} x = a x a a = b a b b = x b x 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) throws IOException {
		
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		//String str = "10 9 4";
		int x;
		String[] num = str.split(" ", 0);
		int a = Integer.parseInt(num[0]); //3
		int b = Integer.parseInt(num[1]); //8
		int c = Integer.parseInt(num[2]); //1

		if (a > b) {
			x = a;
			a = b;
			b = x;
		}
		if (b > c){
			x = b;
			b = c;
			c = x;
		}		
		if (a > b) {
			x = a;
			a = b;
			b = x;
		}
		System.out.println(a + " " + b + " " + c);
        }
} public class Main {
	public static void main(String[] args) throws IOException {
		
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		//String str = "10 9 4";
		int x;
		String[] num = str.split(" ", 0);
		int a = Integer.parseInt(num[0]); //3
		int b = Integer.parseInt(num[1]); //8
		int c = Integer.parseInt(num[2]); //1

		if (a > b) {
			x = a;
			a = b;
			b = x;
		}
		if (b > c){
			x = b;
			b = c;
			c = x;
		}		
		if (a > b) {
			x = a;
			a = b;
			b = x;
		}
		System.out.println(a + " " + b + " " + c);
        }
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) throws IOException {
		
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		//String str = "10 9 4";
		int x;
		String[] num = str.split(" ", 0);
		int a = Integer.parseInt(num[0]); //3
		int b = Integer.parseInt(num[1]); //8
		int c = Integer.parseInt(num[2]); //1

		if (a > b) {
			x = a;
			a = b;
			b = x;
		}
		if (b > c){
			x = b;
			b = c;
			c = x;
		}		
		if (a > b) {
			x = a;
			a = b;
			b = x;
		}
		System.out.println(a + " " + b + " " + c);
        }
}