import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;

public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] inputNum = br.readLine().split(" ");
		int a = Integer.parseInt(inputNum[0]);
		int b = Integer.parseInt(inputNum[1]);
		int c = Integer.parseInt(inputNum[2]);

		int num[] = {a , b , c};

		Arrays.sort(num);

		System.out.println(num[0] + " " + num[1] + " " + num[2]);




	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.Arrays; Arrays java.util public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] inputNum = br.readLine().split(" ");
		int a = Integer.parseInt(inputNum[0]);
		int b = Integer.parseInt(inputNum[1]);
		int c = Integer.parseInt(inputNum[2]);

		int num[] = {a , b , c};

		Arrays.sort(num);

		System.out.println(num[0] + " " + num[1] + " " + num[2]);




	}

} Main public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] inputNum = br.readLine().split(" ");
		int a = Integer.parseInt(inputNum[0]);
		int b = Integer.parseInt(inputNum[1]);
		int c = Integer.parseInt(inputNum[2]);

		int num[] = {a , b , c};

		Arrays.sort(num);

		System.out.println(num[0] + " " + num[1] + " " + num[2]);




	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] inputNum = br.readLine().split(" ");
		int a = Integer.parseInt(inputNum[0]);
		int b = Integer.parseInt(inputNum[1]);
		int c = Integer.parseInt(inputNum[2]);

		int num[] = {a , b , c};

		Arrays.sort(num);

		System.out.println(num[0] + " " + num[1] + " " + num[2]);




	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String[] inputNum = br.readLine().split(" "); inputNum br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int a = Integer.parseInt(inputNum[0]); a Integer.parseInt(inputNum[0]) Integer.parseInt Integer inputNum[0] inputNum 0 int b = Integer.parseInt(inputNum[1]); b Integer.parseInt(inputNum[1]) Integer.parseInt Integer inputNum[1] inputNum 1 int c = Integer.parseInt(inputNum[2]); c Integer.parseInt(inputNum[2]) Integer.parseInt Integer inputNum[2] inputNum 2 int num[] = {a , b , c}; num {a , b , c} a b c Arrays.sort(num) Arrays.sort Arrays num System.out.println(num[0] + " " + num[1] + " " + num[2]) System.out.println System.out System System.out num[0] + " " + num[1] + " " + num[2] " " num[1] num[0] + " " + num[1] + " " + num[2] num[0] num 0 " " num[1] num 1 " " num[2] num 2 String[] args args public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] inputNum = br.readLine().split(" ");
		int a = Integer.parseInt(inputNum[0]);
		int b = Integer.parseInt(inputNum[1]);
		int c = Integer.parseInt(inputNum[2]);

		int num[] = {a , b , c};

		Arrays.sort(num);

		System.out.println(num[0] + " " + num[1] + " " + num[2]);




	}

} public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] inputNum = br.readLine().split(" ");
		int a = Integer.parseInt(inputNum[0]);
		int b = Integer.parseInt(inputNum[1]);
		int c = Integer.parseInt(inputNum[2]);

		int num[] = {a , b , c};

		Arrays.sort(num);

		System.out.println(num[0] + " " + num[1] + " " + num[2]);




	}

} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;

public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] inputNum = br.readLine().split(" ");
		int a = Integer.parseInt(inputNum[0]);
		int b = Integer.parseInt(inputNum[1]);
		int c = Integer.parseInt(inputNum[2]);

		int num[] = {a , b , c};

		Arrays.sort(num);

		System.out.println(num[0] + " " + num[1] + " " + num[2]);




	}

}