import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		// ArrayList???????????????
		ArrayList<Integer> list = new ArrayList<Integer>();

		// Integer????????°??????????????????
		list.add(Integer.valueOf(scanner.nextInt()));
		list.add(Integer.valueOf(scanner.nextInt()));
		list.add(Integer.valueOf(scanner.nextInt()));

		// ????????§???????????????
		Collections.sort(list);

		System.out.println(list.get(0) + " " + list.get(1) + " " + list.get(2));

	}
} 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) {

		Scanner scanner = new Scanner(System.in);

		// ArrayList???????????????
		ArrayList<Integer> list = new ArrayList<Integer>();

		// Integer????????°??????????????????
		list.add(Integer.valueOf(scanner.nextInt()));
		list.add(Integer.valueOf(scanner.nextInt()));
		list.add(Integer.valueOf(scanner.nextInt()));

		// ????????§???????????????
		Collections.sort(list);

		System.out.println(list.get(0) + " " + list.get(1) + " " + list.get(2));

	}
} Main public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		// ArrayList???????????????
		ArrayList<Integer> list = new ArrayList<Integer>();

		// Integer????????°??????????????????
		list.add(Integer.valueOf(scanner.nextInt()));
		list.add(Integer.valueOf(scanner.nextInt()));
		list.add(Integer.valueOf(scanner.nextInt()));

		// ????????§???????????????
		Collections.sort(list);

		System.out.println(list.get(0) + " " + list.get(1) + " " + list.get(2));

	} main {

		Scanner scanner = new Scanner(System.in);

		// ArrayList???????????????
		ArrayList<Integer> list = new ArrayList<Integer>();

		// Integer????????°??????????????????
		list.add(Integer.valueOf(scanner.nextInt()));
		list.add(Integer.valueOf(scanner.nextInt()));
		list.add(Integer.valueOf(scanner.nextInt()));

		// ????????§???????????????
		Collections.sort(list);

		System.out.println(list.get(0) + " " + list.get(1) + " " + list.get(2));

	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) ArrayList<Integer> list = new ArrayList<Integer>(); list new ArrayList<Integer>() list.add(Integer.valueOf(scanner.nextInt())) list.add list Integer.valueOf(scanner.nextInt()) Integer.valueOf Integer scanner.nextInt() scanner.nextInt scanner list.add(Integer.valueOf(scanner.nextInt())) list.add list Integer.valueOf(scanner.nextInt()) Integer.valueOf Integer scanner.nextInt() scanner.nextInt scanner list.add(Integer.valueOf(scanner.nextInt())) list.add list Integer.valueOf(scanner.nextInt()) Integer.valueOf Integer scanner.nextInt() scanner.nextInt scanner Collections.sort(list) Collections.sort Collections list System.out.println(list.get(0) + " " + list.get(1) + " " + list.get(2)) System.out.println System.out System System.out list.get(0) + " " + list.get(1) + " " + list.get(2) " " list.get(1) list.get(0) + " " + list.get(1) + " " + list.get(2) list.get(0) list.get list 0 " " list.get(1) list.get list 1 " " list.get(2) list.get list 2 String[] args args public class Main {
	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		// ArrayList???????????????
		ArrayList<Integer> list = new ArrayList<Integer>();

		// Integer????????°??????????????????
		list.add(Integer.valueOf(scanner.nextInt()));
		list.add(Integer.valueOf(scanner.nextInt()));
		list.add(Integer.valueOf(scanner.nextInt()));

		// ????????§???????????????
		Collections.sort(list);

		System.out.println(list.get(0) + " " + list.get(1) + " " + list.get(2));

	}
} public class Main {
	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		// ArrayList???????????????
		ArrayList<Integer> list = new ArrayList<Integer>();

		// Integer????????°??????????????????
		list.add(Integer.valueOf(scanner.nextInt()));
		list.add(Integer.valueOf(scanner.nextInt()));
		list.add(Integer.valueOf(scanner.nextInt()));

		// ????????§???????????????
		Collections.sort(list);

		System.out.println(list.get(0) + " " + list.get(1) + " " + list.get(2));

	}
} Main
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		// ArrayList???????????????
		ArrayList<Integer> list = new ArrayList<Integer>();

		// Integer????????°??????????????????
		list.add(Integer.valueOf(scanner.nextInt()));
		list.add(Integer.valueOf(scanner.nextInt()));
		list.add(Integer.valueOf(scanner.nextInt()));

		// ????????§???????????????
		Collections.sort(list);

		System.out.println(list.get(0) + " " + list.get(1) + " " + list.get(2));

	}
}