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

public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		scan.close();
		ArrayList<Integer> nums = new ArrayList<Integer>();
		nums.add(a);
		nums.add(b);
		nums.add(c);
		Collections.sort(nums);
		String answer = new String();
		answer += nums.get(0) + " " + nums.get(1) + " " + nums.get(2);
		System.out.println(answer);
	}

} 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 scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		scan.close();
		ArrayList<Integer> nums = new ArrayList<Integer>();
		nums.add(a);
		nums.add(b);
		nums.add(c);
		Collections.sort(nums);
		String answer = new String();
		answer += nums.get(0) + " " + nums.get(1) + " " + nums.get(2);
		System.out.println(answer);
	}

} Main public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		scan.close();
		ArrayList<Integer> nums = new ArrayList<Integer>();
		nums.add(a);
		nums.add(b);
		nums.add(c);
		Collections.sort(nums);
		String answer = new String();
		answer += nums.get(0) + " " + nums.get(1) + " " + nums.get(2);
		System.out.println(answer);
	} main {
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		scan.close();
		ArrayList<Integer> nums = new ArrayList<Integer>();
		nums.add(a);
		nums.add(b);
		nums.add(c);
		Collections.sort(nums);
		String answer = new String();
		answer += nums.get(0) + " " + nums.get(1) + " " + nums.get(2);
		System.out.println(answer);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan int b = scan.nextInt(); b scan.nextInt() scan.nextInt scan int c = scan.nextInt(); c scan.nextInt() scan.nextInt scan scan.close() scan.close scan ArrayList<Integer> nums = new ArrayList<Integer>(); nums new ArrayList<Integer>() nums.add(a) nums.add nums a nums.add(b) nums.add nums b nums.add(c) nums.add nums c Collections.sort(nums) Collections.sort Collections nums String answer = new String(); answer new String() answer += nums.get(0) + " " + nums.get(1) + " " + nums.get(2) answer nums.get(0) + " " + nums.get(1) + " " + nums.get(2) " " nums.get(1) nums.get(0) + " " + nums.get(1) + " " + nums.get(2) nums.get(0) nums.get nums 0 " " nums.get(1) nums.get nums 1 " " nums.get(2) nums.get nums 2 System.out.println(answer) System.out.println System.out System System.out answer String[] args args public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		scan.close();
		ArrayList<Integer> nums = new ArrayList<Integer>();
		nums.add(a);
		nums.add(b);
		nums.add(c);
		Collections.sort(nums);
		String answer = new String();
		answer += nums.get(0) + " " + nums.get(1) + " " + nums.get(2);
		System.out.println(answer);
	}

} public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		scan.close();
		ArrayList<Integer> nums = new ArrayList<Integer>();
		nums.add(a);
		nums.add(b);
		nums.add(c);
		Collections.sort(nums);
		String answer = new String();
		answer += nums.get(0) + " " + nums.get(1) + " " + nums.get(2);
		System.out.println(answer);
	}

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

public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		scan.close();
		ArrayList<Integer> nums = new ArrayList<Integer>();
		nums.add(a);
		nums.add(b);
		nums.add(c);
		Collections.sort(nums);
		String answer = new String();
		answer += nums.get(0) + " " + nums.get(1) + " " + nums.get(2);
		System.out.println(answer);
	}

}