import java.util.*;
public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    sc.useDelimiter("\\s");
    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();

    if(a > b ){
     int t = a;   
         a = b;
         b = t; 
         if(b > c){
     int y = b;
         b = c;
         c = y;

            if(a > b){
               int u = b;
               b = a;
               a = u;


            }
       }
    }
    
    if(a == c){
               int i = b;
               b = c;
               c = i;
     }

	System.out.println(a + " " + b + " " + c);

    

       
   
  }

} import java.util.*; util.* java public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    sc.useDelimiter("\\s");
    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();

    if(a > b ){
     int t = a;   
         a = b;
         b = t; 
         if(b > c){
     int y = b;
         b = c;
         c = y;

            if(a > b){
               int u = b;
               b = a;
               a = u;


            }
       }
    }
    
    if(a == c){
               int i = b;
               b = c;
               c = i;
     }

	System.out.println(a + " " + b + " " + c);

    

       
   
  }

} Main public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    sc.useDelimiter("\\s");
    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();

    if(a > b ){
     int t = a;   
         a = b;
         b = t; 
         if(b > c){
     int y = b;
         b = c;
         c = y;

            if(a > b){
               int u = b;
               b = a;
               a = u;


            }
       }
    }
    
    if(a == c){
               int i = b;
               b = c;
               c = i;
     }

	System.out.println(a + " " + b + " " + c);

    

       
   
  } main {
    Scanner sc = new Scanner(System.in);
    sc.useDelimiter("\\s");
    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();

    if(a > b ){
     int t = a;   
         a = b;
         b = t; 
         if(b > c){
     int y = b;
         b = c;
         c = y;

            if(a > b){
               int u = b;
               b = a;
               a = u;


            }
       }
    }
    
    if(a == c){
               int i = b;
               b = c;
               c = i;
     }

	System.out.println(a + " " + b + " " + c);

    

       
   
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) sc.useDelimiter("\\s") sc.useDelimiter sc "\\s" int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc int c = sc.nextInt(); c sc.nextInt() sc.nextInt sc if(a > b ){
     int t = a;   
         a = b;
         b = t; 
         if(b > c){
     int y = b;
         b = c;
         c = y;

            if(a > b){
               int u = b;
               b = a;
               a = u;


            }
       }
    } a > b a b {
     int t = a;   
         a = b;
         b = t; 
         if(b > c){
     int y = b;
         b = c;
         c = y;

            if(a > b){
               int u = b;
               b = a;
               a = u;


            }
       }
    } int t = a; t a a = b a b b = t b t if(b > c){
     int y = b;
         b = c;
         c = y;

            if(a > b){
               int u = b;
               b = a;
               a = u;


            }
       } b > c b c {
     int y = b;
         b = c;
         c = y;

            if(a > b){
               int u = b;
               b = a;
               a = u;


            }
       } int y = b; y b b = c b c c = y c y if(a > b){
               int u = b;
               b = a;
               a = u;


            } a > b a b {
               int u = b;
               b = a;
               a = u;


            } int u = b; u b b = a b a a = u a u if(a == c){
               int i = b;
               b = c;
               c = i;
     } a == c a c {
               int i = b;
               b = c;
               c = i;
     } int i = b; i b b = c b c c = i c i System.out.println(a + " " + b + " " + c) System.out.println System.out System System.out a + " " + b + " " + c " " b a + " " + b + " " + c a " " b " " c String[] args args public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    sc.useDelimiter("\\s");
    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();

    if(a > b ){
     int t = a;   
         a = b;
         b = t; 
         if(b > c){
     int y = b;
         b = c;
         c = y;

            if(a > b){
               int u = b;
               b = a;
               a = u;


            }
       }
    }
    
    if(a == c){
               int i = b;
               b = c;
               c = i;
     }

	System.out.println(a + " " + b + " " + c);

    

       
   
  }

} public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    sc.useDelimiter("\\s");
    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();

    if(a > b ){
     int t = a;   
         a = b;
         b = t; 
         if(b > c){
     int y = b;
         b = c;
         c = y;

            if(a > b){
               int u = b;
               b = a;
               a = u;


            }
       }
    }
    
    if(a == c){
               int i = b;
               b = c;
               c = i;
     }

	System.out.println(a + " " + b + " " + c);

    

       
   
  }

} Main
import java.util.*;
public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    sc.useDelimiter("\\s");
    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();

    if(a > b ){
     int t = a;   
         a = b;
         b = t; 
         if(b > c){
     int y = b;
         b = c;
         c = y;

            if(a > b){
               int u = b;
               b = a;
               a = u;


            }
       }
    }
    
    if(a == c){
               int i = b;
               b = c;
               c = i;
     }

	System.out.println(a + " " + b + " " + c);

    

       
   
  }

}