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


public class Main {

	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(
					System.in));

			String[] strs = br.readLine().split(" ");
			List<Integer> l = new ArrayList<Integer>();
			for(String s:strs){
				l.add(Integer.parseInt(s));
			}
			Collections.sort(l);
			StringBuilder sb = new StringBuilder();
			for(int i:l){
				sb.append(i);
				sb.append(" ");
			}
			System.out.println(sb.substring(0,sb.length()-1));
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

} import java.io.BufferedReader; BufferedReader 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 public class Main {

	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(
					System.in));

			String[] strs = br.readLine().split(" ");
			List<Integer> l = new ArrayList<Integer>();
			for(String s:strs){
				l.add(Integer.parseInt(s));
			}
			Collections.sort(l);
			StringBuilder sb = new StringBuilder();
			for(int i:l){
				sb.append(i);
				sb.append(" ");
			}
			System.out.println(sb.substring(0,sb.length()-1));
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

} Main public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(
					System.in));

			String[] strs = br.readLine().split(" ");
			List<Integer> l = new ArrayList<Integer>();
			for(String s:strs){
				l.add(Integer.parseInt(s));
			}
			Collections.sort(l);
			StringBuilder sb = new StringBuilder();
			for(int i:l){
				sb.append(i);
				sb.append(" ");
			}
			System.out.println(sb.substring(0,sb.length()-1));
		} catch (Exception e) {
			e.printStackTrace();
		}
	} main {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(
					System.in));

			String[] strs = br.readLine().split(" ");
			List<Integer> l = new ArrayList<Integer>();
			for(String s:strs){
				l.add(Integer.parseInt(s));
			}
			Collections.sort(l);
			StringBuilder sb = new StringBuilder();
			for(int i:l){
				sb.append(i);
				sb.append(" ");
			}
			System.out.println(sb.substring(0,sb.length()-1));
		} catch (Exception e) {
			e.printStackTrace();
		}
	} try {
			BufferedReader br = new BufferedReader(new InputStreamReader(
					System.in));

			String[] strs = br.readLine().split(" ");
			List<Integer> l = new ArrayList<Integer>();
			for(String s:strs){
				l.add(Integer.parseInt(s));
			}
			Collections.sort(l);
			StringBuilder sb = new StringBuilder();
			for(int i:l){
				sb.append(i);
				sb.append(" ");
			}
			System.out.println(sb.substring(0,sb.length()-1));
		} catch (Exception e) {
			e.printStackTrace();
		} catch (Exception e) {
			e.printStackTrace();
		} Exception e {
			e.printStackTrace();
		} e.printStackTrace() e.printStackTrace e {
			BufferedReader br = new BufferedReader(new InputStreamReader(
					System.in));

			String[] strs = br.readLine().split(" ");
			List<Integer> l = new ArrayList<Integer>();
			for(String s:strs){
				l.add(Integer.parseInt(s));
			}
			Collections.sort(l);
			StringBuilder sb = new StringBuilder();
			for(int i:l){
				sb.append(i);
				sb.append(" ");
			}
			System.out.println(sb.substring(0,sb.length()-1));
		} BufferedReader br = new BufferedReader(new InputStreamReader(
					System.in)); br new BufferedReader(new InputStreamReader(
					System.in)) String[] strs = br.readLine().split(" "); strs br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " List<Integer> l = new ArrayList<Integer>(); l new ArrayList<Integer>() for(String s:strs){
				l.add(Integer.parseInt(s));
			} String s strs {
				l.add(Integer.parseInt(s));
			} {
				l.add(Integer.parseInt(s));
			} l.add(Integer.parseInt(s)) l.add l Integer.parseInt(s) Integer.parseInt Integer s Collections.sort(l) Collections.sort Collections l StringBuilder sb = new StringBuilder(); sb new StringBuilder() for(int i:l){
				sb.append(i);
				sb.append(" ");
			} int i l {
				sb.append(i);
				sb.append(" ");
			} {
				sb.append(i);
				sb.append(" ");
			} sb.append(i) sb.append sb i sb.append(" ") sb.append sb " " System.out.println(sb.substring(0,sb.length()-1)) System.out.println System.out System System.out sb.substring(0,sb.length()-1) sb.substring sb 0 sb.length()-1 sb.length() sb.length sb 1 String[] args args public class Main {

	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(
					System.in));

			String[] strs = br.readLine().split(" ");
			List<Integer> l = new ArrayList<Integer>();
			for(String s:strs){
				l.add(Integer.parseInt(s));
			}
			Collections.sort(l);
			StringBuilder sb = new StringBuilder();
			for(int i:l){
				sb.append(i);
				sb.append(" ");
			}
			System.out.println(sb.substring(0,sb.length()-1));
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

} public class Main {

	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(
					System.in));

			String[] strs = br.readLine().split(" ");
			List<Integer> l = new ArrayList<Integer>();
			for(String s:strs){
				l.add(Integer.parseInt(s));
			}
			Collections.sort(l);
			StringBuilder sb = new StringBuilder();
			for(int i:l){
				sb.append(i);
				sb.append(" ");
			}
			System.out.println(sb.substring(0,sb.length()-1));
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;


public class Main {

	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(
					System.in));

			String[] strs = br.readLine().split(" ");
			List<Integer> l = new ArrayList<Integer>();
			for(String s:strs){
				l.add(Integer.parseInt(s));
			}
			Collections.sort(l);
			StringBuilder sb = new StringBuilder();
			for(int i:l){
				sb.append(i);
				sb.append(" ");
			}
			System.out.println(sb.substring(0,sb.length()-1));
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}