import java.util.*;
  
class Main{
   public static void main(String[] args){
   	
	int[] len = new int[3];
   	 Scanner input = new Scanner(System.in);
   	
   	for(int i=0; i<len.length;i++){	
    len[i] = input.nextInt();
   	}
   	
   	Arrays.sort(len);
   	System.out.println(len[0]+" "+len[1]+" "+len[2]);
   }
} import java.util.*; util.* java class Main{
   public static void main(String[] args){
   	
	int[] len = new int[3];
   	 Scanner input = new Scanner(System.in);
   	
   	for(int i=0; i<len.length;i++){	
    len[i] = input.nextInt();
   	}
   	
   	Arrays.sort(len);
   	System.out.println(len[0]+" "+len[1]+" "+len[2]);
   }
} Main public static void main(String[] args){
   	
	int[] len = new int[3];
   	 Scanner input = new Scanner(System.in);
   	
   	for(int i=0; i<len.length;i++){	
    len[i] = input.nextInt();
   	}
   	
   	Arrays.sort(len);
   	System.out.println(len[0]+" "+len[1]+" "+len[2]);
   } main {
   	
	int[] len = new int[3];
   	 Scanner input = new Scanner(System.in);
   	
   	for(int i=0; i<len.length;i++){	
    len[i] = input.nextInt();
   	}
   	
   	Arrays.sort(len);
   	System.out.println(len[0]+" "+len[1]+" "+len[2]);
   } int[] len = new int[3]; len new int[3] 3 Scanner input = new Scanner(System.in); input new Scanner(System.in) for(int i=0; i<len.length;i++){	
    len[i] = input.nextInt();
   	} int i=0; int i=0; i 0 i<len.length i len.length len len.length i++ i++ i {	
    len[i] = input.nextInt();
   	} {	
    len[i] = input.nextInt();
   	} len[i] = input.nextInt() len[i] len i input.nextInt() input.nextInt input Arrays.sort(len) Arrays.sort Arrays len System.out.println(len[0]+" "+len[1]+" "+len[2]) System.out.println System.out System System.out len[0]+" "+len[1]+" "+len[2] " " len[1] len[0]+" "+len[1]+" "+len[2] len[0] len 0 " " len[1] len 1 " " len[2] len 2 String[] args args
import java.util.*;
  
class Main{
   public static void main(String[] args){
   	
	int[] len = new int[3];
   	 Scanner input = new Scanner(System.in);
   	
   	for(int i=0; i<len.length;i++){	
    len[i] = input.nextInt();
   	}
   	
   	Arrays.sort(len);
   	System.out.println(len[0]+" "+len[1]+" "+len[2]);
   }
}