import java.io.*;
import java.util.*;
public class Main
{
    public static void main(String[] args) throws IOException{
    int sub1 = 0;
    int sub2 = 0;
    int sub3 = 0;
    int i = 1;
    String s;
    int a = 0;
    int b = 0;
    int c = 0;
    int cn = 0;
        while(i>0){
            BufferedReader x = new BufferedReader(new InputStreamReader(System.in));
            s = x.readLine();
            StringTokenizer st = new StringTokenizer(s," ");
            a = Integer.parseInt(st.nextToken());
            b = Integer.parseInt(st.nextToken());
            c = Integer.parseInt(st.nextToken());
            if(a >= -1000 && a <= 1000 )
                i = -1;
            else if(b >= -1000 && b <= 1000)
                i = -1;
            else if(c >= -1000 && c <= 1000)
                i = -1;
            else
                i = 1;
         }
        sub1 = b-c;
            if(sub1>0){
            cn = b;
            b = c;
            c = cn;
            sub2 = a-b;
                if(sub2>0){
                cn = a;
                a = b;
                b = cn;
                sub3 = b-c;
                    if(sub3>0){
                    cn = b;
                    b = c;
                    c = cn;
                    }
                }
            }
            else{
            sub2 = a-b;
                if(sub2>0){
                cn = a;
                a = b;
                b = cn;
                sub3 = b-c;
                    if(sub3>0){
                    cn = b;
                    b = c;
                    c = cn;
                    }
                }
            }            
    System.out.println(""+a+" "+b+" "+c+"");
    }
} import java.io.*; io.* java import java.util.*; util.* java public class Main
{
    public static void main(String[] args) throws IOException{
    int sub1 = 0;
    int sub2 = 0;
    int sub3 = 0;
    int i = 1;
    String s;
    int a = 0;
    int b = 0;
    int c = 0;
    int cn = 0;
        while(i>0){
            BufferedReader x = new BufferedReader(new InputStreamReader(System.in));
            s = x.readLine();
            StringTokenizer st = new StringTokenizer(s," ");
            a = Integer.parseInt(st.nextToken());
            b = Integer.parseInt(st.nextToken());
            c = Integer.parseInt(st.nextToken());
            if(a >= -1000 && a <= 1000 )
                i = -1;
            else if(b >= -1000 && b <= 1000)
                i = -1;
            else if(c >= -1000 && c <= 1000)
                i = -1;
            else
                i = 1;
         }
        sub1 = b-c;
            if(sub1>0){
            cn = b;
            b = c;
            c = cn;
            sub2 = a-b;
                if(sub2>0){
                cn = a;
                a = b;
                b = cn;
                sub3 = b-c;
                    if(sub3>0){
                    cn = b;
                    b = c;
                    c = cn;
                    }
                }
            }
            else{
            sub2 = a-b;
                if(sub2>0){
                cn = a;
                a = b;
                b = cn;
                sub3 = b-c;
                    if(sub3>0){
                    cn = b;
                    b = c;
                    c = cn;
                    }
                }
            }            
    System.out.println(""+a+" "+b+" "+c+"");
    }
} Main public static void main(String[] args) throws IOException{
    int sub1 = 0;
    int sub2 = 0;
    int sub3 = 0;
    int i = 1;
    String s;
    int a = 0;
    int b = 0;
    int c = 0;
    int cn = 0;
        while(i>0){
            BufferedReader x = new BufferedReader(new InputStreamReader(System.in));
            s = x.readLine();
            StringTokenizer st = new StringTokenizer(s," ");
            a = Integer.parseInt(st.nextToken());
            b = Integer.parseInt(st.nextToken());
            c = Integer.parseInt(st.nextToken());
            if(a >= -1000 && a <= 1000 )
                i = -1;
            else if(b >= -1000 && b <= 1000)
                i = -1;
            else if(c >= -1000 && c <= 1000)
                i = -1;
            else
                i = 1;
         }
        sub1 = b-c;
            if(sub1>0){
            cn = b;
            b = c;
            c = cn;
            sub2 = a-b;
                if(sub2>0){
                cn = a;
                a = b;
                b = cn;
                sub3 = b-c;
                    if(sub3>0){
                    cn = b;
                    b = c;
                    c = cn;
                    }
                }
            }
            else{
            sub2 = a-b;
                if(sub2>0){
                cn = a;
                a = b;
                b = cn;
                sub3 = b-c;
                    if(sub3>0){
                    cn = b;
                    b = c;
                    c = cn;
                    }
                }
            }            
    System.out.println(""+a+" "+b+" "+c+"");
    } main {
    int sub1 = 0;
    int sub2 = 0;
    int sub3 = 0;
    int i = 1;
    String s;
    int a = 0;
    int b = 0;
    int c = 0;
    int cn = 0;
        while(i>0){
            BufferedReader x = new BufferedReader(new InputStreamReader(System.in));
            s = x.readLine();
            StringTokenizer st = new StringTokenizer(s," ");
            a = Integer.parseInt(st.nextToken());
            b = Integer.parseInt(st.nextToken());
            c = Integer.parseInt(st.nextToken());
            if(a >= -1000 && a <= 1000 )
                i = -1;
            else if(b >= -1000 && b <= 1000)
                i = -1;
            else if(c >= -1000 && c <= 1000)
                i = -1;
            else
                i = 1;
         }
        sub1 = b-c;
            if(sub1>0){
            cn = b;
            b = c;
            c = cn;
            sub2 = a-b;
                if(sub2>0){
                cn = a;
                a = b;
                b = cn;
                sub3 = b-c;
                    if(sub3>0){
                    cn = b;
                    b = c;
                    c = cn;
                    }
                }
            }
            else{
            sub2 = a-b;
                if(sub2>0){
                cn = a;
                a = b;
                b = cn;
                sub3 = b-c;
                    if(sub3>0){
                    cn = b;
                    b = c;
                    c = cn;
                    }
                }
            }            
    System.out.println(""+a+" "+b+" "+c+"");
    } int sub1 = 0; sub1 0 int sub2 = 0; sub2 0 int sub3 = 0; sub3 0 int i = 1; i 1 String s; s int a = 0; a 0 int b = 0; b 0 int c = 0; c 0 int cn = 0; cn 0 while(i>0){
            BufferedReader x = new BufferedReader(new InputStreamReader(System.in));
            s = x.readLine();
            StringTokenizer st = new StringTokenizer(s," ");
            a = Integer.parseInt(st.nextToken());
            b = Integer.parseInt(st.nextToken());
            c = Integer.parseInt(st.nextToken());
            if(a >= -1000 && a <= 1000 )
                i = -1;
            else if(b >= -1000 && b <= 1000)
                i = -1;
            else if(c >= -1000 && c <= 1000)
                i = -1;
            else
                i = 1;
         } i>0 i 0 {
            BufferedReader x = new BufferedReader(new InputStreamReader(System.in));
            s = x.readLine();
            StringTokenizer st = new StringTokenizer(s," ");
            a = Integer.parseInt(st.nextToken());
            b = Integer.parseInt(st.nextToken());
            c = Integer.parseInt(st.nextToken());
            if(a >= -1000 && a <= 1000 )
                i = -1;
            else if(b >= -1000 && b <= 1000)
                i = -1;
            else if(c >= -1000 && c <= 1000)
                i = -1;
            else
                i = 1;
         } BufferedReader x = new BufferedReader(new InputStreamReader(System.in)); x new BufferedReader(new InputStreamReader(System.in)) s = x.readLine() s x.readLine() x.readLine x StringTokenizer st = new StringTokenizer(s," "); st new StringTokenizer(s," ") a = Integer.parseInt(st.nextToken()) a Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st b = Integer.parseInt(st.nextToken()) b Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st c = Integer.parseInt(st.nextToken()) c Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st if(a >= -1000 && a <= 1000 )
                i = -1;
            else if(b >= -1000 && b <= 1000)
                i = -1;
            else if(c >= -1000 && c <= 1000)
                i = -1;
            else
                i = 1; a >= -1000 && a <= 1000 a >= -1000 a -1000 1000 a <= 1000 a 1000 i = -1 i -1 1 if(b >= -1000 && b <= 1000)
                i = -1;
            else if(c >= -1000 && c <= 1000)
                i = -1;
            else
                i = 1; b >= -1000 && b <= 1000 b >= -1000 b -1000 1000 b <= 1000 b 1000 i = -1 i -1 1 if(c >= -1000 && c <= 1000)
                i = -1;
            else
                i = 1; c >= -1000 && c <= 1000 c >= -1000 c -1000 1000 c <= 1000 c 1000 i = -1 i -1 1 i = 1 i 1 sub1 = b-c sub1 b-c b c if(sub1>0){
            cn = b;
            b = c;
            c = cn;
            sub2 = a-b;
                if(sub2>0){
                cn = a;
                a = b;
                b = cn;
                sub3 = b-c;
                    if(sub3>0){
                    cn = b;
                    b = c;
                    c = cn;
                    }
                }
            }
            else{
            sub2 = a-b;
                if(sub2>0){
                cn = a;
                a = b;
                b = cn;
                sub3 = b-c;
                    if(sub3>0){
                    cn = b;
                    b = c;
                    c = cn;
                    }
                }
            } sub1>0 sub1 0 {
            cn = b;
            b = c;
            c = cn;
            sub2 = a-b;
                if(sub2>0){
                cn = a;
                a = b;
                b = cn;
                sub3 = b-c;
                    if(sub3>0){
                    cn = b;
                    b = c;
                    c = cn;
                    }
                }
            } cn = b cn b b = c b c c = cn c cn sub2 = a-b sub2 a-b a b if(sub2>0){
                cn = a;
                a = b;
                b = cn;
                sub3 = b-c;
                    if(sub3>0){
                    cn = b;
                    b = c;
                    c = cn;
                    }
                } sub2>0 sub2 0 {
                cn = a;
                a = b;
                b = cn;
                sub3 = b-c;
                    if(sub3>0){
                    cn = b;
                    b = c;
                    c = cn;
                    }
                } cn = a cn a a = b a b b = cn b cn sub3 = b-c sub3 b-c b c if(sub3>0){
                    cn = b;
                    b = c;
                    c = cn;
                    } sub3>0 sub3 0 {
                    cn = b;
                    b = c;
                    c = cn;
                    } cn = b cn b b = c b c c = cn c cn {
            sub2 = a-b;
                if(sub2>0){
                cn = a;
                a = b;
                b = cn;
                sub3 = b-c;
                    if(sub3>0){
                    cn = b;
                    b = c;
                    c = cn;
                    }
                }
            } sub2 = a-b sub2 a-b a b if(sub2>0){
                cn = a;
                a = b;
                b = cn;
                sub3 = b-c;
                    if(sub3>0){
                    cn = b;
                    b = c;
                    c = cn;
                    }
                } sub2>0 sub2 0 {
                cn = a;
                a = b;
                b = cn;
                sub3 = b-c;
                    if(sub3>0){
                    cn = b;
                    b = c;
                    c = cn;
                    }
                } cn = a cn a a = b a b b = cn b cn sub3 = b-c sub3 b-c b c if(sub3>0){
                    cn = b;
                    b = c;
                    c = cn;
                    } sub3>0 sub3 0 {
                    cn = b;
                    b = c;
                    c = cn;
                    } cn = b cn b b = c b c c = cn c cn System.out.println(""+a+" "+b+" "+c+"") System.out.println System.out System System.out ""+a+" "+b+" "+c+"" c " " b " " ""+a+" "+b+" "+c+"" "" a " " b " " c "" String[] args args public class Main
{
    public static void main(String[] args) throws IOException{
    int sub1 = 0;
    int sub2 = 0;
    int sub3 = 0;
    int i = 1;
    String s;
    int a = 0;
    int b = 0;
    int c = 0;
    int cn = 0;
        while(i>0){
            BufferedReader x = new BufferedReader(new InputStreamReader(System.in));
            s = x.readLine();
            StringTokenizer st = new StringTokenizer(s," ");
            a = Integer.parseInt(st.nextToken());
            b = Integer.parseInt(st.nextToken());
            c = Integer.parseInt(st.nextToken());
            if(a >= -1000 && a <= 1000 )
                i = -1;
            else if(b >= -1000 && b <= 1000)
                i = -1;
            else if(c >= -1000 && c <= 1000)
                i = -1;
            else
                i = 1;
         }
        sub1 = b-c;
            if(sub1>0){
            cn = b;
            b = c;
            c = cn;
            sub2 = a-b;
                if(sub2>0){
                cn = a;
                a = b;
                b = cn;
                sub3 = b-c;
                    if(sub3>0){
                    cn = b;
                    b = c;
                    c = cn;
                    }
                }
            }
            else{
            sub2 = a-b;
                if(sub2>0){
                cn = a;
                a = b;
                b = cn;
                sub3 = b-c;
                    if(sub3>0){
                    cn = b;
                    b = c;
                    c = cn;
                    }
                }
            }            
    System.out.println(""+a+" "+b+" "+c+"");
    }
} public class Main
{
    public static void main(String[] args) throws IOException{
    int sub1 = 0;
    int sub2 = 0;
    int sub3 = 0;
    int i = 1;
    String s;
    int a = 0;
    int b = 0;
    int c = 0;
    int cn = 0;
        while(i>0){
            BufferedReader x = new BufferedReader(new InputStreamReader(System.in));
            s = x.readLine();
            StringTokenizer st = new StringTokenizer(s," ");
            a = Integer.parseInt(st.nextToken());
            b = Integer.parseInt(st.nextToken());
            c = Integer.parseInt(st.nextToken());
            if(a >= -1000 && a <= 1000 )
                i = -1;
            else if(b >= -1000 && b <= 1000)
                i = -1;
            else if(c >= -1000 && c <= 1000)
                i = -1;
            else
                i = 1;
         }
        sub1 = b-c;
            if(sub1>0){
            cn = b;
            b = c;
            c = cn;
            sub2 = a-b;
                if(sub2>0){
                cn = a;
                a = b;
                b = cn;
                sub3 = b-c;
                    if(sub3>0){
                    cn = b;
                    b = c;
                    c = cn;
                    }
                }
            }
            else{
            sub2 = a-b;
                if(sub2>0){
                cn = a;
                a = b;
                b = cn;
                sub3 = b-c;
                    if(sub3>0){
                    cn = b;
                    b = c;
                    c = cn;
                    }
                }
            }            
    System.out.println(""+a+" "+b+" "+c+"");
    }
} Main
import java.io.*;
import java.util.*;
public class Main
{
    public static void main(String[] args) throws IOException{
    int sub1 = 0;
    int sub2 = 0;
    int sub3 = 0;
    int i = 1;
    String s;
    int a = 0;
    int b = 0;
    int c = 0;
    int cn = 0;
        while(i>0){
            BufferedReader x = new BufferedReader(new InputStreamReader(System.in));
            s = x.readLine();
            StringTokenizer st = new StringTokenizer(s," ");
            a = Integer.parseInt(st.nextToken());
            b = Integer.parseInt(st.nextToken());
            c = Integer.parseInt(st.nextToken());
            if(a >= -1000 && a <= 1000 )
                i = -1;
            else if(b >= -1000 && b <= 1000)
                i = -1;
            else if(c >= -1000 && c <= 1000)
                i = -1;
            else
                i = 1;
         }
        sub1 = b-c;
            if(sub1>0){
            cn = b;
            b = c;
            c = cn;
            sub2 = a-b;
                if(sub2>0){
                cn = a;
                a = b;
                b = cn;
                sub3 = b-c;
                    if(sub3>0){
                    cn = b;
                    b = c;
                    c = cn;
                    }
                }
            }
            else{
            sub2 = a-b;
                if(sub2>0){
                cn = a;
                a = b;
                b = cn;
                sub3 = b-c;
                    if(sub3>0){
                    cn = b;
                    b = c;
                    c = cn;
                    }
                }
            }            
    System.out.println(""+a+" "+b+" "+c+"");
    }
}