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

class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String strNum = br.readLine();
		String[] strNumArrays = strNum.split(" ");
		ArrayList<Integer> numList = new ArrayList<Integer>();
		for (int i = 0; i < strNumArrays.length; i++) {
			numList.add(Integer.parseInt(strNumArrays[i]));
		}
		Collections.sort(numList);
		String out = String.valueOf(numList.get(0));
		for (int i = 1; i < numList.size(); i++) {
			out += " " + numList.get(i);
		}
		System.out.println(out);
	}

} 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 class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String strNum = br.readLine();
		String[] strNumArrays = strNum.split(" ");
		ArrayList<Integer> numList = new ArrayList<Integer>();
		for (int i = 0; i < strNumArrays.length; i++) {
			numList.add(Integer.parseInt(strNumArrays[i]));
		}
		Collections.sort(numList);
		String out = String.valueOf(numList.get(0));
		for (int i = 1; i < numList.size(); i++) {
			out += " " + numList.get(i);
		}
		System.out.println(out);
	}

} Main public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String strNum = br.readLine();
		String[] strNumArrays = strNum.split(" ");
		ArrayList<Integer> numList = new ArrayList<Integer>();
		for (int i = 0; i < strNumArrays.length; i++) {
			numList.add(Integer.parseInt(strNumArrays[i]));
		}
		Collections.sort(numList);
		String out = String.valueOf(numList.get(0));
		for (int i = 1; i < numList.size(); i++) {
			out += " " + numList.get(i);
		}
		System.out.println(out);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String strNum = br.readLine();
		String[] strNumArrays = strNum.split(" ");
		ArrayList<Integer> numList = new ArrayList<Integer>();
		for (int i = 0; i < strNumArrays.length; i++) {
			numList.add(Integer.parseInt(strNumArrays[i]));
		}
		Collections.sort(numList);
		String out = String.valueOf(numList.get(0));
		for (int i = 1; i < numList.size(); i++) {
			out += " " + numList.get(i);
		}
		System.out.println(out);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String strNum = br.readLine(); strNum br.readLine() br.readLine br String[] strNumArrays = strNum.split(" "); strNumArrays strNum.split(" ") strNum.split strNum " " ArrayList<Integer> numList = new ArrayList<Integer>(); numList new ArrayList<Integer>() for (int i = 0; i < strNumArrays.length; i++) {
			numList.add(Integer.parseInt(strNumArrays[i]));
		} int i = 0; int i = 0; i 0 i < strNumArrays.length i strNumArrays.length strNumArrays strNumArrays.length i++ i++ i {
			numList.add(Integer.parseInt(strNumArrays[i]));
		} {
			numList.add(Integer.parseInt(strNumArrays[i]));
		} numList.add(Integer.parseInt(strNumArrays[i])) numList.add numList Integer.parseInt(strNumArrays[i]) Integer.parseInt Integer strNumArrays[i] strNumArrays i Collections.sort(numList) Collections.sort Collections numList String out = String.valueOf(numList.get(0)); out String.valueOf(numList.get(0)) String.valueOf String numList.get(0) numList.get numList 0 for (int i = 1; i < numList.size(); i++) {
			out += " " + numList.get(i);
		} int i = 1; int i = 1; i 1 i < numList.size() i numList.size() numList.size numList i++ i++ i {
			out += " " + numList.get(i);
		} {
			out += " " + numList.get(i);
		} out += " " + numList.get(i) out " " + numList.get(i) " " numList.get(i) numList.get numList i System.out.println(out) System.out.println System.out System System.out out String[] args args
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;

class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String strNum = br.readLine();
		String[] strNumArrays = strNum.split(" ");
		ArrayList<Integer> numList = new ArrayList<Integer>();
		for (int i = 0; i < strNumArrays.length; i++) {
			numList.add(Integer.parseInt(strNumArrays[i]));
		}
		Collections.sort(numList);
		String out = String.valueOf(numList.get(0));
		for (int i = 1; i < numList.size(); i++) {
			out += " " + numList.get(i);
		}
		System.out.println(out);
	}

}