import static java.lang.System.out;
import java.util.Scanner;

public class Main {
    public static void main(String...args) {
        String str = new Scanner(System.in).nextLine();
        String[] list = str.split(" ");

        int a = Integer.parseInt(list[0]);
        int b = Integer.parseInt(list[1]);
        int c = Integer.parseInt(list[2]);

        int tmp = 0;

        if (c < b) {
            tmp = b;
            b = c;
            c = tmp;

            if (b < a) {
                tmp = a;
                a = b;
                b = tmp;

                if (c < b) {
                    tmp = b;
                    b = c;
                    c = tmp;

                }
            }

        } else if (b < a) {
            tmp = a;
            a = b;
            b = tmp;

            if (c < b) {
                tmp = b;
                b = c;
                c = tmp;

            }
        }


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





    }

} import static java.lang.System.out; import static java.lang.System.out; import static java.lang.System.out; import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String...args) {
        String str = new Scanner(System.in).nextLine();
        String[] list = str.split(" ");

        int a = Integer.parseInt(list[0]);
        int b = Integer.parseInt(list[1]);
        int c = Integer.parseInt(list[2]);

        int tmp = 0;

        if (c < b) {
            tmp = b;
            b = c;
            c = tmp;

            if (b < a) {
                tmp = a;
                a = b;
                b = tmp;

                if (c < b) {
                    tmp = b;
                    b = c;
                    c = tmp;

                }
            }

        } else if (b < a) {
            tmp = a;
            a = b;
            b = tmp;

            if (c < b) {
                tmp = b;
                b = c;
                c = tmp;

            }
        }


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





    }

} Main public static void main(String...args) {
        String str = new Scanner(System.in).nextLine();
        String[] list = str.split(" ");

        int a = Integer.parseInt(list[0]);
        int b = Integer.parseInt(list[1]);
        int c = Integer.parseInt(list[2]);

        int tmp = 0;

        if (c < b) {
            tmp = b;
            b = c;
            c = tmp;

            if (b < a) {
                tmp = a;
                a = b;
                b = tmp;

                if (c < b) {
                    tmp = b;
                    b = c;
                    c = tmp;

                }
            }

        } else if (b < a) {
            tmp = a;
            a = b;
            b = tmp;

            if (c < b) {
                tmp = b;
                b = c;
                c = tmp;

            }
        }


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





    } main {
        String str = new Scanner(System.in).nextLine();
        String[] list = str.split(" ");

        int a = Integer.parseInt(list[0]);
        int b = Integer.parseInt(list[1]);
        int c = Integer.parseInt(list[2]);

        int tmp = 0;

        if (c < b) {
            tmp = b;
            b = c;
            c = tmp;

            if (b < a) {
                tmp = a;
                a = b;
                b = tmp;

                if (c < b) {
                    tmp = b;
                    b = c;
                    c = tmp;

                }
            }

        } else if (b < a) {
            tmp = a;
            a = b;
            b = tmp;

            if (c < b) {
                tmp = b;
                b = c;
                c = tmp;

            }
        }


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





    } String str = new Scanner(System.in).nextLine(); str new Scanner(System.in).nextLine() new Scanner(System.in).nextLine new Scanner(System.in) String[] list = str.split(" "); list str.split(" ") str.split str " " int a = Integer.parseInt(list[0]); a Integer.parseInt(list[0]) Integer.parseInt Integer list[0] list 0 int b = Integer.parseInt(list[1]); b Integer.parseInt(list[1]) Integer.parseInt Integer list[1] list 1 int c = Integer.parseInt(list[2]); c Integer.parseInt(list[2]) Integer.parseInt Integer list[2] list 2 int tmp = 0; tmp 0 if (c < b) {
            tmp = b;
            b = c;
            c = tmp;

            if (b < a) {
                tmp = a;
                a = b;
                b = tmp;

                if (c < b) {
                    tmp = b;
                    b = c;
                    c = tmp;

                }
            }

        } else if (b < a) {
            tmp = a;
            a = b;
            b = tmp;

            if (c < b) {
                tmp = b;
                b = c;
                c = tmp;

            }
        } c < b c b {
            tmp = b;
            b = c;
            c = tmp;

            if (b < a) {
                tmp = a;
                a = b;
                b = tmp;

                if (c < b) {
                    tmp = b;
                    b = c;
                    c = tmp;

                }
            }

        } tmp = b tmp b b = c b c c = tmp c tmp if (b < a) {
                tmp = a;
                a = b;
                b = tmp;

                if (c < b) {
                    tmp = b;
                    b = c;
                    c = tmp;

                }
            } b < a b a {
                tmp = a;
                a = b;
                b = tmp;

                if (c < b) {
                    tmp = b;
                    b = c;
                    c = tmp;

                }
            } tmp = a tmp a a = b a b b = tmp b tmp if (c < b) {
                    tmp = b;
                    b = c;
                    c = tmp;

                } c < b c b {
                    tmp = b;
                    b = c;
                    c = tmp;

                } tmp = b tmp b b = c b c c = tmp c tmp if (b < a) {
            tmp = a;
            a = b;
            b = tmp;

            if (c < b) {
                tmp = b;
                b = c;
                c = tmp;

            }
        } b < a b a {
            tmp = a;
            a = b;
            b = tmp;

            if (c < b) {
                tmp = b;
                b = c;
                c = tmp;

            }
        } tmp = a tmp a a = b a b b = tmp b tmp if (c < b) {
                tmp = b;
                b = c;
                c = tmp;

            } c < b c b {
                tmp = b;
                b = c;
                c = tmp;

            } tmp = b tmp b b = c b c c = tmp c tmp 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) {
        String str = new Scanner(System.in).nextLine();
        String[] list = str.split(" ");

        int a = Integer.parseInt(list[0]);
        int b = Integer.parseInt(list[1]);
        int c = Integer.parseInt(list[2]);

        int tmp = 0;

        if (c < b) {
            tmp = b;
            b = c;
            c = tmp;

            if (b < a) {
                tmp = a;
                a = b;
                b = tmp;

                if (c < b) {
                    tmp = b;
                    b = c;
                    c = tmp;

                }
            }

        } else if (b < a) {
            tmp = a;
            a = b;
            b = tmp;

            if (c < b) {
                tmp = b;
                b = c;
                c = tmp;

            }
        }


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





    }

} public class Main {
    public static void main(String...args) {
        String str = new Scanner(System.in).nextLine();
        String[] list = str.split(" ");

        int a = Integer.parseInt(list[0]);
        int b = Integer.parseInt(list[1]);
        int c = Integer.parseInt(list[2]);

        int tmp = 0;

        if (c < b) {
            tmp = b;
            b = c;
            c = tmp;

            if (b < a) {
                tmp = a;
                a = b;
                b = tmp;

                if (c < b) {
                    tmp = b;
                    b = c;
                    c = tmp;

                }
            }

        } else if (b < a) {
            tmp = a;
            a = b;
            b = tmp;

            if (c < b) {
                tmp = b;
                b = c;
                c = tmp;

            }
        }


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





    }

} Main
import static java.lang.System.out;
import java.util.Scanner;

public class Main {
    public static void main(String...args) {
        String str = new Scanner(System.in).nextLine();
        String[] list = str.split(" ");

        int a = Integer.parseInt(list[0]);
        int b = Integer.parseInt(list[1]);
        int c = Integer.parseInt(list[2]);

        int tmp = 0;

        if (c < b) {
            tmp = b;
            b = c;
            c = tmp;

            if (b < a) {
                tmp = a;
                a = b;
                b = tmp;

                if (c < b) {
                    tmp = b;
                    b = c;
                    c = tmp;

                }
            }

        } else if (b < a) {
            tmp = a;
            a = b;
            b = tmp;

            if (c < b) {
                tmp = b;
                b = c;
                c = tmp;

            }
        }


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





    }

}