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

public class Main {
	public static void main(String[] args) {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    
		String x = "";
		try {
			x = in.readLine();
		} catch (NumberFormatException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

		String[] ab = x.split(" ");
		
		int[] a = new int[3];
		a[0] = Integer.parseInt(ab[0]);
		a[1] = Integer.parseInt(ab[1]);
		a[2] = Integer.parseInt(ab[2]);
		
		Arrays.sort(a);
		System.out.println(a[0] + " " + a[1] + " " + a[2]);
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.Arrays; Arrays java.util public class Main {
	public static void main(String[] args) {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    
		String x = "";
		try {
			x = in.readLine();
		} catch (NumberFormatException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

		String[] ab = x.split(" ");
		
		int[] a = new int[3];
		a[0] = Integer.parseInt(ab[0]);
		a[1] = Integer.parseInt(ab[1]);
		a[2] = Integer.parseInt(ab[2]);
		
		Arrays.sort(a);
		System.out.println(a[0] + " " + a[1] + " " + a[2]);
	}
} Main public static void main(String[] args) {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    
		String x = "";
		try {
			x = in.readLine();
		} catch (NumberFormatException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

		String[] ab = x.split(" ");
		
		int[] a = new int[3];
		a[0] = Integer.parseInt(ab[0]);
		a[1] = Integer.parseInt(ab[1]);
		a[2] = Integer.parseInt(ab[2]);
		
		Arrays.sort(a);
		System.out.println(a[0] + " " + a[1] + " " + a[2]);
	} main {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    
		String x = "";
		try {
			x = in.readLine();
		} catch (NumberFormatException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

		String[] ab = x.split(" ");
		
		int[] a = new int[3];
		a[0] = Integer.parseInt(ab[0]);
		a[1] = Integer.parseInt(ab[1]);
		a[2] = Integer.parseInt(ab[2]);
		
		Arrays.sort(a);
		System.out.println(a[0] + " " + a[1] + " " + a[2]);
	} BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); in new BufferedReader(new InputStreamReader(System.in)) String x = ""; x "" try {
			x = in.readLine();
		} catch (NumberFormatException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (NumberFormatException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} NumberFormatException e {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} e.printStackTrace() e.printStackTrace e catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} IOException e {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} e.printStackTrace() e.printStackTrace e {
			x = in.readLine();
		} x = in.readLine() x in.readLine() in.readLine in String[] ab = x.split(" "); ab x.split(" ") x.split x " " int[] a = new int[3]; a new int[3] 3 a[0] = Integer.parseInt(ab[0]) a[0] a 0 Integer.parseInt(ab[0]) Integer.parseInt Integer ab[0] ab 0 a[1] = Integer.parseInt(ab[1]) a[1] a 1 Integer.parseInt(ab[1]) Integer.parseInt Integer ab[1] ab 1 a[2] = Integer.parseInt(ab[2]) a[2] a 2 Integer.parseInt(ab[2]) Integer.parseInt Integer ab[2] ab 2 Arrays.sort(a) Arrays.sort Arrays a System.out.println(a[0] + " " + a[1] + " " + a[2]) System.out.println System.out System System.out a[0] + " " + a[1] + " " + a[2] " " a[1] a[0] + " " + a[1] + " " + a[2] a[0] a 0 " " a[1] a 1 " " a[2] a 2 String[] args args public class Main {
	public static void main(String[] args) {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    
		String x = "";
		try {
			x = in.readLine();
		} catch (NumberFormatException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

		String[] ab = x.split(" ");
		
		int[] a = new int[3];
		a[0] = Integer.parseInt(ab[0]);
		a[1] = Integer.parseInt(ab[1]);
		a[2] = Integer.parseInt(ab[2]);
		
		Arrays.sort(a);
		System.out.println(a[0] + " " + a[1] + " " + a[2]);
	}
} public class Main {
	public static void main(String[] args) {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    
		String x = "";
		try {
			x = in.readLine();
		} catch (NumberFormatException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

		String[] ab = x.split(" ");
		
		int[] a = new int[3];
		a[0] = Integer.parseInt(ab[0]);
		a[1] = Integer.parseInt(ab[1]);
		a[2] = Integer.parseInt(ab[2]);
		
		Arrays.sort(a);
		System.out.println(a[0] + " " + a[1] + " " + a[2]);
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;

public class Main {
	public static void main(String[] args) {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    
		String x = "";
		try {
			x = in.readLine();
		} catch (NumberFormatException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

		String[] ab = x.split(" ");
		
		int[] a = new int[3];
		a[0] = Integer.parseInt(ab[0]);
		a[1] = Integer.parseInt(ab[1]);
		a[2] = Integer.parseInt(ab[2]);
		
		Arrays.sort(a);
		System.out.println(a[0] + " " + a[1] + " " + a[2]);
	}
}