import java.io.BufferedReader;
import java.io.InputStreamReader;

class Main{

	public static void main(String[] args) throws Exception{
		
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] line = br.readLine().split(" ");
		int len = 3;
		int[] num = new int[len];

		for(int i = 0; i < len; i++){
			num[i] = Integer.parseInt(line[i]);
		}

		for(int i = 0; i < len; i++){
			for(int j = len - 1; j > i; j--){
				if(num[j - 1] > num[j]){
					int temp = num[j - 1];
					num[j - 1] = num[j];
					num[j] = temp;
				}
			}
		}

		for(int i = 0; i < len; i++){
			if(i == len - 1){
				System.out.println(num[i]);
			}else{
				System.out.print(num[i] + " ");
			}

		}

	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io class Main{

	public static void main(String[] args) throws Exception{
		
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] line = br.readLine().split(" ");
		int len = 3;
		int[] num = new int[len];

		for(int i = 0; i < len; i++){
			num[i] = Integer.parseInt(line[i]);
		}

		for(int i = 0; i < len; i++){
			for(int j = len - 1; j > i; j--){
				if(num[j - 1] > num[j]){
					int temp = num[j - 1];
					num[j - 1] = num[j];
					num[j] = temp;
				}
			}
		}

		for(int i = 0; i < len; i++){
			if(i == len - 1){
				System.out.println(num[i]);
			}else{
				System.out.print(num[i] + " ");
			}

		}

	}
} Main public static void main(String[] args) throws Exception{
		
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] line = br.readLine().split(" ");
		int len = 3;
		int[] num = new int[len];

		for(int i = 0; i < len; i++){
			num[i] = Integer.parseInt(line[i]);
		}

		for(int i = 0; i < len; i++){
			for(int j = len - 1; j > i; j--){
				if(num[j - 1] > num[j]){
					int temp = num[j - 1];
					num[j - 1] = num[j];
					num[j] = temp;
				}
			}
		}

		for(int i = 0; i < len; i++){
			if(i == len - 1){
				System.out.println(num[i]);
			}else{
				System.out.print(num[i] + " ");
			}

		}

	} main {
		
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] line = br.readLine().split(" ");
		int len = 3;
		int[] num = new int[len];

		for(int i = 0; i < len; i++){
			num[i] = Integer.parseInt(line[i]);
		}

		for(int i = 0; i < len; i++){
			for(int j = len - 1; j > i; j--){
				if(num[j - 1] > num[j]){
					int temp = num[j - 1];
					num[j - 1] = num[j];
					num[j] = temp;
				}
			}
		}

		for(int i = 0; i < len; i++){
			if(i == len - 1){
				System.out.println(num[i]);
			}else{
				System.out.print(num[i] + " ");
			}

		}

	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String[] line = br.readLine().split(" "); line br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int len = 3; len 3 int[] num = new int[len]; num new int[len] len for(int i = 0; i < len; i++){
			num[i] = Integer.parseInt(line[i]);
		} int i = 0; int i = 0; i 0 i < len i len i++ i++ i {
			num[i] = Integer.parseInt(line[i]);
		} {
			num[i] = Integer.parseInt(line[i]);
		} num[i] = Integer.parseInt(line[i]) num[i] num i Integer.parseInt(line[i]) Integer.parseInt Integer line[i] line i for(int i = 0; i < len; i++){
			for(int j = len - 1; j > i; j--){
				if(num[j - 1] > num[j]){
					int temp = num[j - 1];
					num[j - 1] = num[j];
					num[j] = temp;
				}
			}
		} int i = 0; int i = 0; i 0 i < len i len i++ i++ i {
			for(int j = len - 1; j > i; j--){
				if(num[j - 1] > num[j]){
					int temp = num[j - 1];
					num[j - 1] = num[j];
					num[j] = temp;
				}
			}
		} {
			for(int j = len - 1; j > i; j--){
				if(num[j - 1] > num[j]){
					int temp = num[j - 1];
					num[j - 1] = num[j];
					num[j] = temp;
				}
			}
		} for(int j = len - 1; j > i; j--){
				if(num[j - 1] > num[j]){
					int temp = num[j - 1];
					num[j - 1] = num[j];
					num[j] = temp;
				}
			} int j = len - 1; int j = len - 1; j len - 1 len 1 j > i j i j-- j-- j {
				if(num[j - 1] > num[j]){
					int temp = num[j - 1];
					num[j - 1] = num[j];
					num[j] = temp;
				}
			} {
				if(num[j - 1] > num[j]){
					int temp = num[j - 1];
					num[j - 1] = num[j];
					num[j] = temp;
				}
			} if(num[j - 1] > num[j]){
					int temp = num[j - 1];
					num[j - 1] = num[j];
					num[j] = temp;
				} num[j - 1] > num[j] num[j - 1] num j - 1 j 1 num[j] num j {
					int temp = num[j - 1];
					num[j - 1] = num[j];
					num[j] = temp;
				} int temp = num[j - 1]; temp num[j - 1] num j - 1 j 1 num[j - 1] = num[j] num[j - 1] num j - 1 j 1 num[j] num j num[j] = temp num[j] num j temp for(int i = 0; i < len; i++){
			if(i == len - 1){
				System.out.println(num[i]);
			}else{
				System.out.print(num[i] + " ");
			}

		} int i = 0; int i = 0; i 0 i < len i len i++ i++ i {
			if(i == len - 1){
				System.out.println(num[i]);
			}else{
				System.out.print(num[i] + " ");
			}

		} {
			if(i == len - 1){
				System.out.println(num[i]);
			}else{
				System.out.print(num[i] + " ");
			}

		} if(i == len - 1){
				System.out.println(num[i]);
			}else{
				System.out.print(num[i] + " ");
			} i == len - 1 i len - 1 len 1 {
				System.out.println(num[i]);
			} System.out.println(num[i]) System.out.println System.out System System.out num[i] num i {
				System.out.print(num[i] + " ");
			} System.out.print(num[i] + " ") System.out.print System.out System System.out num[i] + " " num[i] num i " " String[] args args
import java.io.BufferedReader;
import java.io.InputStreamReader;

class Main{

	public static void main(String[] args) throws Exception{
		
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] line = br.readLine().split(" ");
		int len = 3;
		int[] num = new int[len];

		for(int i = 0; i < len; i++){
			num[i] = Integer.parseInt(line[i]);
		}

		for(int i = 0; i < len; i++){
			for(int j = len - 1; j > i; j--){
				if(num[j - 1] > num[j]){
					int temp = num[j - 1];
					num[j - 1] = num[j];
					num[j] = temp;
				}
			}
		}

		for(int i = 0; i < len; i++){
			if(i == len - 1){
				System.out.println(num[i]);
			}else{
				System.out.print(num[i] + " ");
			}

		}

	}
}