import java.util.*;
  
class Main{
   public static void main(String[] args){
     Scanner stdId = new Scanner(System.in);
     int a = stdId.nextInt(); 
		 int b = stdId.nextInt();
		 int c = stdId.nextInt();
     int[] num = {a,b,c};
     Arrays.sort(num);
     System.out.println("" + num[0] + " " + num[1] + " " + num[2]);
  }
} import java.util.*; util.* java class Main{
   public static void main(String[] args){
     Scanner stdId = new Scanner(System.in);
     int a = stdId.nextInt(); 
		 int b = stdId.nextInt();
		 int c = stdId.nextInt();
     int[] num = {a,b,c};
     Arrays.sort(num);
     System.out.println("" + num[0] + " " + num[1] + " " + num[2]);
  }
} Main public static void main(String[] args){
     Scanner stdId = new Scanner(System.in);
     int a = stdId.nextInt(); 
		 int b = stdId.nextInt();
		 int c = stdId.nextInt();
     int[] num = {a,b,c};
     Arrays.sort(num);
     System.out.println("" + num[0] + " " + num[1] + " " + num[2]);
  } main {
     Scanner stdId = new Scanner(System.in);
     int a = stdId.nextInt(); 
		 int b = stdId.nextInt();
		 int c = stdId.nextInt();
     int[] num = {a,b,c};
     Arrays.sort(num);
     System.out.println("" + num[0] + " " + num[1] + " " + num[2]);
  } Scanner stdId = new Scanner(System.in); stdId new Scanner(System.in) int a = stdId.nextInt(); a stdId.nextInt() stdId.nextInt stdId int b = stdId.nextInt(); b stdId.nextInt() stdId.nextInt stdId int c = stdId.nextInt(); c stdId.nextInt() stdId.nextInt stdId 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
import java.util.*;
  
class Main{
   public static void main(String[] args){
     Scanner stdId = new Scanner(System.in);
     int a = stdId.nextInt(); 
		 int b = stdId.nextInt();
		 int c = stdId.nextInt();
     int[] num = {a,b,c};
     Arrays.sort(num);
     System.out.println("" + num[0] + " " + num[1] + " " + num[2]);
  }
}