import java.io.IOException;
import java.util.Arrays;
import java.util.Scanner;
 
public class Main {
 public static void print(int a,int b,int c){
	 System.out.print(a);
	 System.out.print(" ");
	 System.out.print(b);
	 System.out.print(" ");
	 System.out.println(c);
 }
    public static void main(String[] args) throws IOException {
             
       Scanner sc = new Scanner(System.in);
       int []a=new int[3];
      a[0] = sc.nextInt();
      a[1] = sc.nextInt();
      a[2] = sc.nextInt();
      
      Arrays.sort(a);
      print(a[0],a[1],a[2]);       }
     
      } 
    import java.io.IOException; IOException java.io import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {
 public static void print(int a,int b,int c){
	 System.out.print(a);
	 System.out.print(" ");
	 System.out.print(b);
	 System.out.print(" ");
	 System.out.println(c);
 }
    public static void main(String[] args) throws IOException {
             
       Scanner sc = new Scanner(System.in);
       int []a=new int[3];
      a[0] = sc.nextInt();
      a[1] = sc.nextInt();
      a[2] = sc.nextInt();
      
      Arrays.sort(a);
      print(a[0],a[1],a[2]);       }
     
      } Main public static void print(int a,int b,int c){
	 System.out.print(a);
	 System.out.print(" ");
	 System.out.print(b);
	 System.out.print(" ");
	 System.out.println(c);
 } print {
	 System.out.print(a);
	 System.out.print(" ");
	 System.out.print(b);
	 System.out.print(" ");
	 System.out.println(c);
 } System.out.print(a) System.out.print System.out System System.out a System.out.print(" ") System.out.print System.out System System.out " " System.out.print(b) System.out.print System.out System System.out b System.out.print(" ") System.out.print System.out System System.out " " System.out.println(c) System.out.println System.out System System.out c int a a int b b int c c public static void main(String[] args) throws IOException {
             
       Scanner sc = new Scanner(System.in);
       int []a=new int[3];
      a[0] = sc.nextInt();
      a[1] = sc.nextInt();
      a[2] = sc.nextInt();
      
      Arrays.sort(a);
      print(a[0],a[1],a[2]);       } main {
             
       Scanner sc = new Scanner(System.in);
       int []a=new int[3];
      a[0] = sc.nextInt();
      a[1] = sc.nextInt();
      a[2] = sc.nextInt();
      
      Arrays.sort(a);
      print(a[0],a[1],a[2]);       } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int []a=new int[3]; a new int[3] 3 a[0] = sc.nextInt() a[0] a 0 sc.nextInt() sc.nextInt sc a[1] = sc.nextInt() a[1] a 1 sc.nextInt() sc.nextInt sc a[2] = sc.nextInt() a[2] a 2 sc.nextInt() sc.nextInt sc Arrays.sort(a) Arrays.sort Arrays a print(a[0],a[1],a[2]) print a[0] a 0 a[1] a 1 a[2] a 2 String[] args args public class Main {
 public static void print(int a,int b,int c){
	 System.out.print(a);
	 System.out.print(" ");
	 System.out.print(b);
	 System.out.print(" ");
	 System.out.println(c);
 }
    public static void main(String[] args) throws IOException {
             
       Scanner sc = new Scanner(System.in);
       int []a=new int[3];
      a[0] = sc.nextInt();
      a[1] = sc.nextInt();
      a[2] = sc.nextInt();
      
      Arrays.sort(a);
      print(a[0],a[1],a[2]);       }
     
      } public class Main {
 public static void print(int a,int b,int c){
	 System.out.print(a);
	 System.out.print(" ");
	 System.out.print(b);
	 System.out.print(" ");
	 System.out.println(c);
 }
    public static void main(String[] args) throws IOException {
             
       Scanner sc = new Scanner(System.in);
       int []a=new int[3];
      a[0] = sc.nextInt();
      a[1] = sc.nextInt();
      a[2] = sc.nextInt();
      
      Arrays.sort(a);
      print(a[0],a[1],a[2]);       }
     
      } Main
import java.io.IOException;
import java.util.Arrays;
import java.util.Scanner;
 
public class Main {
 public static void print(int a,int b,int c){
	 System.out.print(a);
	 System.out.print(" ");
	 System.out.print(b);
	 System.out.print(" ");
	 System.out.println(c);
 }
    public static void main(String[] args) throws IOException {
             
       Scanner sc = new Scanner(System.in);
       int []a=new int[3];
      a[0] = sc.nextInt();
      a[1] = sc.nextInt();
      a[2] = sc.nextInt();
      
      Arrays.sort(a);
      print(a[0],a[1],a[2]);       }
     
      } 
   