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