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


public class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		ArrayList<Integer> list=new ArrayList<Integer>();
		list.add(scan.nextInt());
		list.add(scan.nextInt());
		list.add(scan.nextInt());
		Collections.sort(list);
		for (int i = 0; i < 3; i++) {
			System.out.print(list.get(i));
			if(i<2)
				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 import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		ArrayList<Integer> list=new ArrayList<Integer>();
		list.add(scan.nextInt());
		list.add(scan.nextInt());
		list.add(scan.nextInt());
		Collections.sort(list);
		for (int i = 0; i < 3; i++) {
			System.out.print(list.get(i));
			if(i<2)
				System.out.print(" ");
		}
		System.out.println();
	}

} Main public static void main(String[] args) throws IOException {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		ArrayList<Integer> list=new ArrayList<Integer>();
		list.add(scan.nextInt());
		list.add(scan.nextInt());
		list.add(scan.nextInt());
		Collections.sort(list);
		for (int i = 0; i < 3; i++) {
			System.out.print(list.get(i));
			if(i<2)
				System.out.print(" ");
		}
		System.out.println();
	} main {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		ArrayList<Integer> list=new ArrayList<Integer>();
		list.add(scan.nextInt());
		list.add(scan.nextInt());
		list.add(scan.nextInt());
		Collections.sort(list);
		for (int i = 0; i < 3; i++) {
			System.out.print(list.get(i));
			if(i<2)
				System.out.print(" ");
		}
		System.out.println();
	} BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in))); scan new Scanner(new BufferedReader(new InputStreamReader(System.in))) ArrayList<Integer> list=new ArrayList<Integer>(); list new ArrayList<Integer>() list.add(scan.nextInt()) list.add list scan.nextInt() scan.nextInt scan list.add(scan.nextInt()) list.add list scan.nextInt() scan.nextInt scan list.add(scan.nextInt()) list.add list scan.nextInt() scan.nextInt scan Collections.sort(list) Collections.sort Collections list for (int i = 0; i < 3; i++) {
			System.out.print(list.get(i));
			if(i<2)
				System.out.print(" ");
		} int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
			System.out.print(list.get(i));
			if(i<2)
				System.out.print(" ");
		} {
			System.out.print(list.get(i));
			if(i<2)
				System.out.print(" ");
		} System.out.print(list.get(i)) System.out.print System.out System System.out list.get(i) list.get list i if(i<2)
				System.out.print(" "); i<2 i 2 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 public class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		ArrayList<Integer> list=new ArrayList<Integer>();
		list.add(scan.nextInt());
		list.add(scan.nextInt());
		list.add(scan.nextInt());
		Collections.sort(list);
		for (int i = 0; i < 3; i++) {
			System.out.print(list.get(i));
			if(i<2)
				System.out.print(" ");
		}
		System.out.println();
	}

} public class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		ArrayList<Integer> list=new ArrayList<Integer>();
		list.add(scan.nextInt());
		list.add(scan.nextInt());
		list.add(scan.nextInt());
		Collections.sort(list);
		for (int i = 0; i < 3; i++) {
			System.out.print(list.get(i));
			if(i<2)
				System.out.print(" ");
		}
		System.out.println();
	}

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


public class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		ArrayList<Integer> list=new ArrayList<Integer>();
		list.add(scan.nextInt());
		list.add(scan.nextInt());
		list.add(scan.nextInt());
		Collections.sort(list);
		for (int i = 0; i < 3; i++) {
			System.out.print(list.get(i));
			if(i<2)
				System.out.print(" ");
		}
		System.out.println();
	}

}