import static java.lang.System.out;
 public class Main {
     public static void main(String[] args){
         String str = new java.util.Scanner(System.in).nextLine();
         String[] tmp = str.split(" ");
         int a = Integer.parseInt(tmp[0]);
         int b = Integer.parseInt(tmp[1]);
         int c = Integer.parseInt(tmp[2]);
         int tmprun;
 
         for(int i = 0;i <= 2;i++){
             if(c < b){
                 tmprun = c;
                 c = b;
                 b = tmprun;
             }
             if(b < a){
                 tmprun = b;
                 b = a;
                 a = tmprun;
             }
         }
         out.print(a + " ");
         out.print(b + " ");                                                                                                                
         out.println(c);
     }
 } import static java.lang.System.out; import static java.lang.System.out; import static java.lang.System.out; public class Main {
     public static void main(String[] args){
         String str = new java.util.Scanner(System.in).nextLine();
         String[] tmp = str.split(" ");
         int a = Integer.parseInt(tmp[0]);
         int b = Integer.parseInt(tmp[1]);
         int c = Integer.parseInt(tmp[2]);
         int tmprun;
 
         for(int i = 0;i <= 2;i++){
             if(c < b){
                 tmprun = c;
                 c = b;
                 b = tmprun;
             }
             if(b < a){
                 tmprun = b;
                 b = a;
                 a = tmprun;
             }
         }
         out.print(a + " ");
         out.print(b + " ");                                                                                                                
         out.println(c);
     }
 } Main public static void main(String[] args){
         String str = new java.util.Scanner(System.in).nextLine();
         String[] tmp = str.split(" ");
         int a = Integer.parseInt(tmp[0]);
         int b = Integer.parseInt(tmp[1]);
         int c = Integer.parseInt(tmp[2]);
         int tmprun;
 
         for(int i = 0;i <= 2;i++){
             if(c < b){
                 tmprun = c;
                 c = b;
                 b = tmprun;
             }
             if(b < a){
                 tmprun = b;
                 b = a;
                 a = tmprun;
             }
         }
         out.print(a + " ");
         out.print(b + " ");                                                                                                                
         out.println(c);
     } main {
         String str = new java.util.Scanner(System.in).nextLine();
         String[] tmp = str.split(" ");
         int a = Integer.parseInt(tmp[0]);
         int b = Integer.parseInt(tmp[1]);
         int c = Integer.parseInt(tmp[2]);
         int tmprun;
 
         for(int i = 0;i <= 2;i++){
             if(c < b){
                 tmprun = c;
                 c = b;
                 b = tmprun;
             }
             if(b < a){
                 tmprun = b;
                 b = a;
                 a = tmprun;
             }
         }
         out.print(a + " ");
         out.print(b + " ");                                                                                                                
         out.println(c);
     } String str = new java.util.Scanner(System.in).nextLine(); str new java.util.Scanner(System.in).nextLine() new java.util.Scanner(System.in).nextLine new java.util.Scanner(System.in) String[] tmp = str.split(" "); tmp str.split(" ") str.split str " " int a = Integer.parseInt(tmp[0]); a Integer.parseInt(tmp[0]) Integer.parseInt Integer tmp[0] tmp 0 int b = Integer.parseInt(tmp[1]); b Integer.parseInt(tmp[1]) Integer.parseInt Integer tmp[1] tmp 1 int c = Integer.parseInt(tmp[2]); c Integer.parseInt(tmp[2]) Integer.parseInt Integer tmp[2] tmp 2 int tmprun; tmprun for(int i = 0;i <= 2;i++){
             if(c < b){
                 tmprun = c;
                 c = b;
                 b = tmprun;
             }
             if(b < a){
                 tmprun = b;
                 b = a;
                 a = tmprun;
             }
         } int i = 0; int i = 0; i 0 i <= 2 i 2 i++ i++ i {
             if(c < b){
                 tmprun = c;
                 c = b;
                 b = tmprun;
             }
             if(b < a){
                 tmprun = b;
                 b = a;
                 a = tmprun;
             }
         } {
             if(c < b){
                 tmprun = c;
                 c = b;
                 b = tmprun;
             }
             if(b < a){
                 tmprun = b;
                 b = a;
                 a = tmprun;
             }
         } if(c < b){
                 tmprun = c;
                 c = b;
                 b = tmprun;
             } c < b c b {
                 tmprun = c;
                 c = b;
                 b = tmprun;
             } tmprun = c tmprun c c = b c b b = tmprun b tmprun if(b < a){
                 tmprun = b;
                 b = a;
                 a = tmprun;
             } b < a b a {
                 tmprun = b;
                 b = a;
                 a = tmprun;
             } tmprun = b tmprun b b = a b a a = tmprun a tmprun out.print(a + " ") out.print out a + " " a " " out.print(b + " ") out.print out b + " " b " " out.println(c) out.println out c String[] args args public class Main {
     public static void main(String[] args){
         String str = new java.util.Scanner(System.in).nextLine();
         String[] tmp = str.split(" ");
         int a = Integer.parseInt(tmp[0]);
         int b = Integer.parseInt(tmp[1]);
         int c = Integer.parseInt(tmp[2]);
         int tmprun;
 
         for(int i = 0;i <= 2;i++){
             if(c < b){
                 tmprun = c;
                 c = b;
                 b = tmprun;
             }
             if(b < a){
                 tmprun = b;
                 b = a;
                 a = tmprun;
             }
         }
         out.print(a + " ");
         out.print(b + " ");                                                                                                                
         out.println(c);
     }
 } public class Main {
     public static void main(String[] args){
         String str = new java.util.Scanner(System.in).nextLine();
         String[] tmp = str.split(" ");
         int a = Integer.parseInt(tmp[0]);
         int b = Integer.parseInt(tmp[1]);
         int c = Integer.parseInt(tmp[2]);
         int tmprun;
 
         for(int i = 0;i <= 2;i++){
             if(c < b){
                 tmprun = c;
                 c = b;
                 b = tmprun;
             }
             if(b < a){
                 tmprun = b;
                 b = a;
                 a = tmprun;
             }
         }
         out.print(a + " ");
         out.print(b + " ");                                                                                                                
         out.println(c);
     }
 } Main
import static java.lang.System.out;
 public class Main {
     public static void main(String[] args){
         String str = new java.util.Scanner(System.in).nextLine();
         String[] tmp = str.split(" ");
         int a = Integer.parseInt(tmp[0]);
         int b = Integer.parseInt(tmp[1]);
         int c = Integer.parseInt(tmp[2]);
         int tmprun;
 
         for(int i = 0;i <= 2;i++){
             if(c < b){
                 tmprun = c;
                 c = b;
                 b = tmprun;
             }
             if(b < a){
                 tmprun = b;
                 b = a;
                 a = tmprun;
             }
         }
         out.print(a + " ");
         out.print(b + " ");                                                                                                                
         out.println(c);
     }
 }