import java.util.Scanner;                                                   
import java.util.*;
 
class Main{
     public static void main(String[] args){
             Scanner in = new Scanner(System.in);
             int a = in.nextInt();
             int b = in.nextInt();
             int c = in.nextInt();
             int[] sort = {a,b,c,};
             for(int i=0; i<2; i++){
              for(int j=0; j<2-i; j++){
               if(sort[j]<sort[j+1]){
                 int temp=sort[j];
                 sort[j]=sort[j+1];
                 sort[j+1]=temp;
               }
              }
             }
             
             System.out.println(sort[2] + " " + sort[1] + " " + sort[0]);

      }
} import java.util.Scanner; Scanner java.util import java.util.*; util.* java class Main{
     public static void main(String[] args){
             Scanner in = new Scanner(System.in);
             int a = in.nextInt();
             int b = in.nextInt();
             int c = in.nextInt();
             int[] sort = {a,b,c,};
             for(int i=0; i<2; i++){
              for(int j=0; j<2-i; j++){
               if(sort[j]<sort[j+1]){
                 int temp=sort[j];
                 sort[j]=sort[j+1];
                 sort[j+1]=temp;
               }
              }
             }
             
             System.out.println(sort[2] + " " + sort[1] + " " + sort[0]);

      }
} Main public static void main(String[] args){
             Scanner in = new Scanner(System.in);
             int a = in.nextInt();
             int b = in.nextInt();
             int c = in.nextInt();
             int[] sort = {a,b,c,};
             for(int i=0; i<2; i++){
              for(int j=0; j<2-i; j++){
               if(sort[j]<sort[j+1]){
                 int temp=sort[j];
                 sort[j]=sort[j+1];
                 sort[j+1]=temp;
               }
              }
             }
             
             System.out.println(sort[2] + " " + sort[1] + " " + sort[0]);

      } main {
             Scanner in = new Scanner(System.in);
             int a = in.nextInt();
             int b = in.nextInt();
             int c = in.nextInt();
             int[] sort = {a,b,c,};
             for(int i=0; i<2; i++){
              for(int j=0; j<2-i; j++){
               if(sort[j]<sort[j+1]){
                 int temp=sort[j];
                 sort[j]=sort[j+1];
                 sort[j+1]=temp;
               }
              }
             }
             
             System.out.println(sort[2] + " " + sort[1] + " " + sort[0]);

      } Scanner in = new Scanner(System.in); in new Scanner(System.in) int a = in.nextInt(); a in.nextInt() in.nextInt in int b = in.nextInt(); b in.nextInt() in.nextInt in int c = in.nextInt(); c in.nextInt() in.nextInt in int[] sort = {a,b,c,}; sort {a,b,c,} a b c for(int i=0; i<2; i++){
              for(int j=0; j<2-i; j++){
               if(sort[j]<sort[j+1]){
                 int temp=sort[j];
                 sort[j]=sort[j+1];
                 sort[j+1]=temp;
               }
              }
             } int i=0; int i=0; i 0 i<2 i 2 i++ i++ i {
              for(int j=0; j<2-i; j++){
               if(sort[j]<sort[j+1]){
                 int temp=sort[j];
                 sort[j]=sort[j+1];
                 sort[j+1]=temp;
               }
              }
             } {
              for(int j=0; j<2-i; j++){
               if(sort[j]<sort[j+1]){
                 int temp=sort[j];
                 sort[j]=sort[j+1];
                 sort[j+1]=temp;
               }
              }
             } for(int j=0; j<2-i; j++){
               if(sort[j]<sort[j+1]){
                 int temp=sort[j];
                 sort[j]=sort[j+1];
                 sort[j+1]=temp;
               }
              } int j=0; int j=0; j 0 j<2-i j 2-i 2 i j++ j++ j {
               if(sort[j]<sort[j+1]){
                 int temp=sort[j];
                 sort[j]=sort[j+1];
                 sort[j+1]=temp;
               }
              } {
               if(sort[j]<sort[j+1]){
                 int temp=sort[j];
                 sort[j]=sort[j+1];
                 sort[j+1]=temp;
               }
              } if(sort[j]<sort[j+1]){
                 int temp=sort[j];
                 sort[j]=sort[j+1];
                 sort[j+1]=temp;
               } sort[j]<sort[j+1] sort[j] sort j sort[j+1] sort j+1 j 1 {
                 int temp=sort[j];
                 sort[j]=sort[j+1];
                 sort[j+1]=temp;
               } int temp=sort[j]; temp sort[j] sort j sort[j]=sort[j+1] sort[j] sort j sort[j+1] sort j+1 j 1 sort[j+1]=temp sort[j+1] sort j+1 j 1 temp System.out.println(sort[2] + " " + sort[1] + " " + sort[0]) System.out.println System.out System System.out sort[2] + " " + sort[1] + " " + sort[0] " " sort[1] sort[2] + " " + sort[1] + " " + sort[0] sort[2] sort 2 " " sort[1] sort 1 " " sort[0] sort 0 String[] args args
import java.util.Scanner;                                                   
import java.util.*;
 
class Main{
     public static void main(String[] args){
             Scanner in = new Scanner(System.in);
             int a = in.nextInt();
             int b = in.nextInt();
             int c = in.nextInt();
             int[] sort = {a,b,c,};
             for(int i=0; i<2; i++){
              for(int j=0; j<2-i; j++){
               if(sort[j]<sort[j+1]){
                 int temp=sort[j];
                 sort[j]=sort[j+1];
                 sort[j+1]=temp;
               }
              }
             }
             
             System.out.println(sort[2] + " " + sort[1] + " " + sort[0]);

      }
}