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 in = new BufferedReader(new InputStreamReader(System.in));
		String s = new String(in.readLine());
		String[] ss = s.split(" ");
		ArrayList<Integer> al = new ArrayList<Integer>();
		al.add(Integer.parseInt(ss[0]));
		al.add(Integer.parseInt(ss[1]));
		al.add(Integer.parseInt(ss[2]));
		Collections.sort(al);
		for(int i = 0;i < al.size();i++){
			System.out.print(al.get(i));
			if(i < al.size()-1){
				System.out.print(" ");
			}
		}
		System.out.println();
		
	}

} 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 in = new BufferedReader(new InputStreamReader(System.in));
		String s = new String(in.readLine());
		String[] ss = s.split(" ");
		ArrayList<Integer> al = new ArrayList<Integer>();
		al.add(Integer.parseInt(ss[0]));
		al.add(Integer.parseInt(ss[1]));
		al.add(Integer.parseInt(ss[2]));
		Collections.sort(al);
		for(int i = 0;i < al.size();i++){
			System.out.print(al.get(i));
			if(i < al.size()-1){
				System.out.print(" ");
			}
		}
		System.out.println();
		
	}

} Main public static void main(String[] args) throws IOException {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String s = new String(in.readLine());
		String[] ss = s.split(" ");
		ArrayList<Integer> al = new ArrayList<Integer>();
		al.add(Integer.parseInt(ss[0]));
		al.add(Integer.parseInt(ss[1]));
		al.add(Integer.parseInt(ss[2]));
		Collections.sort(al);
		for(int i = 0;i < al.size();i++){
			System.out.print(al.get(i));
			if(i < al.size()-1){
				System.out.print(" ");
			}
		}
		System.out.println();
		
	} main {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String s = new String(in.readLine());
		String[] ss = s.split(" ");
		ArrayList<Integer> al = new ArrayList<Integer>();
		al.add(Integer.parseInt(ss[0]));
		al.add(Integer.parseInt(ss[1]));
		al.add(Integer.parseInt(ss[2]));
		Collections.sort(al);
		for(int i = 0;i < al.size();i++){
			System.out.print(al.get(i));
			if(i < al.size()-1){
				System.out.print(" ");
			}
		}
		System.out.println();
		
	} BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); in new BufferedReader(new InputStreamReader(System.in)) String s = new String(in.readLine()); s new String(in.readLine()) String[] ss = s.split(" "); ss s.split(" ") s.split s " " ArrayList<Integer> al = new ArrayList<Integer>(); al new ArrayList<Integer>() al.add(Integer.parseInt(ss[0])) al.add al Integer.parseInt(ss[0]) Integer.parseInt Integer ss[0] ss 0 al.add(Integer.parseInt(ss[1])) al.add al Integer.parseInt(ss[1]) Integer.parseInt Integer ss[1] ss 1 al.add(Integer.parseInt(ss[2])) al.add al Integer.parseInt(ss[2]) Integer.parseInt Integer ss[2] ss 2 Collections.sort(al) Collections.sort Collections al for(int i = 0;i < al.size();i++){
			System.out.print(al.get(i));
			if(i < al.size()-1){
				System.out.print(" ");
			}
		} int i = 0; int i = 0; i 0 i < al.size() i al.size() al.size al i++ i++ i {
			System.out.print(al.get(i));
			if(i < al.size()-1){
				System.out.print(" ");
			}
		} {
			System.out.print(al.get(i));
			if(i < al.size()-1){
				System.out.print(" ");
			}
		} System.out.print(al.get(i)) System.out.print System.out System System.out al.get(i) al.get al i if(i < al.size()-1){
				System.out.print(" ");
			} i < al.size()-1 i al.size()-1 al.size() al.size al 1 {
				System.out.print(" ");
			} System.out.print(" ") System.out.print System.out System System.out " " System.out.println() System.out.println System.out System System.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 in = new BufferedReader(new InputStreamReader(System.in));
		String s = new String(in.readLine());
		String[] ss = s.split(" ");
		ArrayList<Integer> al = new ArrayList<Integer>();
		al.add(Integer.parseInt(ss[0]));
		al.add(Integer.parseInt(ss[1]));
		al.add(Integer.parseInt(ss[2]));
		Collections.sort(al);
		for(int i = 0;i < al.size();i++){
			System.out.print(al.get(i));
			if(i < al.size()-1){
				System.out.print(" ");
			}
		}
		System.out.println();
		
	}

}