import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

class Main {
	public static void main(String[] args) {
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		try {
			String[] list = br.readLine().split(" ");
			List<Integer> ret = new ArrayList<Integer>();
			int i;
			for (i = 0; i < list.length; i++) {
				ret.add(Integer.parseInt(list[i]));
			}
			Collections.sort(ret);
			String output = "";
			for (int num : ret) {
				output = output + num + " ";
			}
			System.out.println(output.substring(0, output.length() - 1));
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.ArrayList; ArrayList java.util import java.util.Collections; Collections java.util import java.util.List; List java.util class Main {
	public static void main(String[] args) {
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		try {
			String[] list = br.readLine().split(" ");
			List<Integer> ret = new ArrayList<Integer>();
			int i;
			for (i = 0; i < list.length; i++) {
				ret.add(Integer.parseInt(list[i]));
			}
			Collections.sort(ret);
			String output = "";
			for (int num : ret) {
				output = output + num + " ";
			}
			System.out.println(output.substring(0, output.length() - 1));
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
} Main public static void main(String[] args) {
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		try {
			String[] list = br.readLine().split(" ");
			List<Integer> ret = new ArrayList<Integer>();
			int i;
			for (i = 0; i < list.length; i++) {
				ret.add(Integer.parseInt(list[i]));
			}
			Collections.sort(ret);
			String output = "";
			for (int num : ret) {
				output = output + num + " ";
			}
			System.out.println(output.substring(0, output.length() - 1));
		} catch (IOException e) {
			e.printStackTrace();
		}
	} main {
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		try {
			String[] list = br.readLine().split(" ");
			List<Integer> ret = new ArrayList<Integer>();
			int i;
			for (i = 0; i < list.length; i++) {
				ret.add(Integer.parseInt(list[i]));
			}
			Collections.sort(ret);
			String output = "";
			for (int num : ret) {
				output = output + num + " ";
			}
			System.out.println(output.substring(0, output.length() - 1));
		} catch (IOException e) {
			e.printStackTrace();
		}
	} InputStreamReader isr = new InputStreamReader(System.in); isr new InputStreamReader(System.in) BufferedReader br = new BufferedReader(isr); br new BufferedReader(isr) try {
			String[] list = br.readLine().split(" ");
			List<Integer> ret = new ArrayList<Integer>();
			int i;
			for (i = 0; i < list.length; i++) {
				ret.add(Integer.parseInt(list[i]));
			}
			Collections.sort(ret);
			String output = "";
			for (int num : ret) {
				output = output + num + " ";
			}
			System.out.println(output.substring(0, output.length() - 1));
		} catch (IOException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		} IOException e {
			e.printStackTrace();
		} e.printStackTrace() e.printStackTrace e {
			String[] list = br.readLine().split(" ");
			List<Integer> ret = new ArrayList<Integer>();
			int i;
			for (i = 0; i < list.length; i++) {
				ret.add(Integer.parseInt(list[i]));
			}
			Collections.sort(ret);
			String output = "";
			for (int num : ret) {
				output = output + num + " ";
			}
			System.out.println(output.substring(0, output.length() - 1));
		} String[] list = br.readLine().split(" "); list br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " List<Integer> ret = new ArrayList<Integer>(); ret new ArrayList<Integer>() int i; i for (i = 0; i < list.length; i++) {
				ret.add(Integer.parseInt(list[i]));
			} i = 0; i = 0 i 0 i < list.length i list.length list list.length i++ i++ i {
				ret.add(Integer.parseInt(list[i]));
			} {
				ret.add(Integer.parseInt(list[i]));
			} ret.add(Integer.parseInt(list[i])) ret.add ret Integer.parseInt(list[i]) Integer.parseInt Integer list[i] list i Collections.sort(ret) Collections.sort Collections ret String output = ""; output "" for (int num : ret) {
				output = output + num + " ";
			} int num ret {
				output = output + num + " ";
			} {
				output = output + num + " ";
			} output = output + num + " " output output + num + " " output + num + " " output num " " System.out.println(output.substring(0, output.length() - 1)) System.out.println System.out System System.out output.substring(0, output.length() - 1) output.substring output 0 output.length() - 1 output.length() output.length output 1 String[] args args
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

class Main {
	public static void main(String[] args) {
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		try {
			String[] list = br.readLine().split(" ");
			List<Integer> ret = new ArrayList<Integer>();
			int i;
			for (i = 0; i < list.length; i++) {
				ret.add(Integer.parseInt(list[i]));
			}
			Collections.sort(ret);
			String output = "";
			for (int num : ret) {
				output = output + num + " ";
			}
			System.out.println(output.substring(0, output.length() - 1));
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
}