import java.io.*;
import java.util.*;
public class Main {
     public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	StringTokenizer s = new StringTokenizer(br.readLine()," ");
	int[] input = new int[3];
	input[0] = Integer.parseInt(s.nextToken());
	input[1] = Integer.parseInt(s.nextToken());
	input[2] = Integer.parseInt(s.nextToken());

	for(int i=input.length;i>1;i--){
		for(int j=0;j<i-1;j++){
		if(input[j]>input[j+1]){
			int temp = input[j];
			input[j] = input[j+1];
			input[j+1] = temp;
			}
		}
	}
	System.out.println(input[0] + " " + input[1] +" " + input[2]);
    }
} import java.io.*; io.* java import java.util.*; util.* java public class Main {
     public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	StringTokenizer s = new StringTokenizer(br.readLine()," ");
	int[] input = new int[3];
	input[0] = Integer.parseInt(s.nextToken());
	input[1] = Integer.parseInt(s.nextToken());
	input[2] = Integer.parseInt(s.nextToken());

	for(int i=input.length;i>1;i--){
		for(int j=0;j<i-1;j++){
		if(input[j]>input[j+1]){
			int temp = input[j];
			input[j] = input[j+1];
			input[j+1] = temp;
			}
		}
	}
	System.out.println(input[0] + " " + input[1] +" " + input[2]);
    }
} Main public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	StringTokenizer s = new StringTokenizer(br.readLine()," ");
	int[] input = new int[3];
	input[0] = Integer.parseInt(s.nextToken());
	input[1] = Integer.parseInt(s.nextToken());
	input[2] = Integer.parseInt(s.nextToken());

	for(int i=input.length;i>1;i--){
		for(int j=0;j<i-1;j++){
		if(input[j]>input[j+1]){
			int temp = input[j];
			input[j] = input[j+1];
			input[j+1] = temp;
			}
		}
	}
	System.out.println(input[0] + " " + input[1] +" " + input[2]);
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	StringTokenizer s = new StringTokenizer(br.readLine()," ");
	int[] input = new int[3];
	input[0] = Integer.parseInt(s.nextToken());
	input[1] = Integer.parseInt(s.nextToken());
	input[2] = Integer.parseInt(s.nextToken());

	for(int i=input.length;i>1;i--){
		for(int j=0;j<i-1;j++){
		if(input[j]>input[j+1]){
			int temp = input[j];
			input[j] = input[j+1];
			input[j+1] = temp;
			}
		}
	}
	System.out.println(input[0] + " " + input[1] +" " + input[2]);
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) StringTokenizer s = new StringTokenizer(br.readLine()," "); s new StringTokenizer(br.readLine()," ") int[] input = new int[3]; input new int[3] 3 input[0] = Integer.parseInt(s.nextToken()) input[0] input 0 Integer.parseInt(s.nextToken()) Integer.parseInt Integer s.nextToken() s.nextToken s input[1] = Integer.parseInt(s.nextToken()) input[1] input 1 Integer.parseInt(s.nextToken()) Integer.parseInt Integer s.nextToken() s.nextToken s input[2] = Integer.parseInt(s.nextToken()) input[2] input 2 Integer.parseInt(s.nextToken()) Integer.parseInt Integer s.nextToken() s.nextToken s for(int i=input.length;i>1;i--){
		for(int j=0;j<i-1;j++){
		if(input[j]>input[j+1]){
			int temp = input[j];
			input[j] = input[j+1];
			input[j+1] = temp;
			}
		}
	} int i=input.length; int i=input.length; i input.length input input.length i>1 i 1 i-- i-- i {
		for(int j=0;j<i-1;j++){
		if(input[j]>input[j+1]){
			int temp = input[j];
			input[j] = input[j+1];
			input[j+1] = temp;
			}
		}
	} {
		for(int j=0;j<i-1;j++){
		if(input[j]>input[j+1]){
			int temp = input[j];
			input[j] = input[j+1];
			input[j+1] = temp;
			}
		}
	} for(int j=0;j<i-1;j++){
		if(input[j]>input[j+1]){
			int temp = input[j];
			input[j] = input[j+1];
			input[j+1] = temp;
			}
		} int j=0; int j=0; j 0 j<i-1 j i-1 i 1 j++ j++ j {
		if(input[j]>input[j+1]){
			int temp = input[j];
			input[j] = input[j+1];
			input[j+1] = temp;
			}
		} {
		if(input[j]>input[j+1]){
			int temp = input[j];
			input[j] = input[j+1];
			input[j+1] = temp;
			}
		} if(input[j]>input[j+1]){
			int temp = input[j];
			input[j] = input[j+1];
			input[j+1] = temp;
			} input[j]>input[j+1] input[j] input j input[j+1] input j+1 j 1 {
			int temp = input[j];
			input[j] = input[j+1];
			input[j+1] = temp;
			} int temp = input[j]; temp input[j] input j input[j] = input[j+1] input[j] input j input[j+1] input j+1 j 1 input[j+1] = temp input[j+1] input j+1 j 1 temp System.out.println(input[0] + " " + input[1] +" " + input[2]) System.out.println System.out System System.out input[0] + " " + input[1] +" " + input[2] " " input[1] input[0] + " " + input[1] +" " + input[2] input[0] input 0 " " input[1] input 1 " " input[2] input 2 String[] args args public class Main {
     public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	StringTokenizer s = new StringTokenizer(br.readLine()," ");
	int[] input = new int[3];
	input[0] = Integer.parseInt(s.nextToken());
	input[1] = Integer.parseInt(s.nextToken());
	input[2] = Integer.parseInt(s.nextToken());

	for(int i=input.length;i>1;i--){
		for(int j=0;j<i-1;j++){
		if(input[j]>input[j+1]){
			int temp = input[j];
			input[j] = input[j+1];
			input[j+1] = temp;
			}
		}
	}
	System.out.println(input[0] + " " + input[1] +" " + input[2]);
    }
} public class Main {
     public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	StringTokenizer s = new StringTokenizer(br.readLine()," ");
	int[] input = new int[3];
	input[0] = Integer.parseInt(s.nextToken());
	input[1] = Integer.parseInt(s.nextToken());
	input[2] = Integer.parseInt(s.nextToken());

	for(int i=input.length;i>1;i--){
		for(int j=0;j<i-1;j++){
		if(input[j]>input[j+1]){
			int temp = input[j];
			input[j] = input[j+1];
			input[j+1] = temp;
			}
		}
	}
	System.out.println(input[0] + " " + input[1] +" " + input[2]);
    }
} Main
import java.io.*;
import java.util.*;
public class Main {
     public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	StringTokenizer s = new StringTokenizer(br.readLine()," ");
	int[] input = new int[3];
	input[0] = Integer.parseInt(s.nextToken());
	input[1] = Integer.parseInt(s.nextToken());
	input[2] = Integer.parseInt(s.nextToken());

	for(int i=input.length;i>1;i--){
		for(int j=0;j<i-1;j++){
		if(input[j]>input[j+1]){
			int temp = input[j];
			input[j] = input[j+1];
			input[j+1] = temp;
			}
		}
	}
	System.out.println(input[0] + " " + input[1] +" " + input[2]);
    }
}