import java.util.Scanner;
public class Main {
public static void main(String[] args) {

        Scanner in = new Scanner(System.in);
        String str[];
        str = new String[3];
        int num[];
        num = new int[3];
        int num_yobi = 0;
        for(int i=0; i<=2; i++)
            {
            str[i] = in.next();
            num[i] = Integer.parseInt(str[i]);
            }
        for(int j=0; j<=1; j++)
            {
            for(int i=0; i<=1-j; i++)
                {if(num[i] > num[i+1])
                    {
                    num_yobi = num[i];
                    num[i] = num[i+1];
                    num[i+1] = num_yobi;
                    }
                }
            }
        System.out.println(num[0]+" "+num[1]+" "+num[2]);
    }
    
} import java.util.Scanner; Scanner java.util public class Main {
public static void main(String[] args) {

        Scanner in = new Scanner(System.in);
        String str[];
        str = new String[3];
        int num[];
        num = new int[3];
        int num_yobi = 0;
        for(int i=0; i<=2; i++)
            {
            str[i] = in.next();
            num[i] = Integer.parseInt(str[i]);
            }
        for(int j=0; j<=1; j++)
            {
            for(int i=0; i<=1-j; i++)
                {if(num[i] > num[i+1])
                    {
                    num_yobi = num[i];
                    num[i] = num[i+1];
                    num[i+1] = num_yobi;
                    }
                }
            }
        System.out.println(num[0]+" "+num[1]+" "+num[2]);
    }
    
} Main public static void main(String[] args) {

        Scanner in = new Scanner(System.in);
        String str[];
        str = new String[3];
        int num[];
        num = new int[3];
        int num_yobi = 0;
        for(int i=0; i<=2; i++)
            {
            str[i] = in.next();
            num[i] = Integer.parseInt(str[i]);
            }
        for(int j=0; j<=1; j++)
            {
            for(int i=0; i<=1-j; i++)
                {if(num[i] > num[i+1])
                    {
                    num_yobi = num[i];
                    num[i] = num[i+1];
                    num[i+1] = num_yobi;
                    }
                }
            }
        System.out.println(num[0]+" "+num[1]+" "+num[2]);
    } main {

        Scanner in = new Scanner(System.in);
        String str[];
        str = new String[3];
        int num[];
        num = new int[3];
        int num_yobi = 0;
        for(int i=0; i<=2; i++)
            {
            str[i] = in.next();
            num[i] = Integer.parseInt(str[i]);
            }
        for(int j=0; j<=1; j++)
            {
            for(int i=0; i<=1-j; i++)
                {if(num[i] > num[i+1])
                    {
                    num_yobi = num[i];
                    num[i] = num[i+1];
                    num[i+1] = num_yobi;
                    }
                }
            }
        System.out.println(num[0]+" "+num[1]+" "+num[2]);
    } Scanner in = new Scanner(System.in); in new Scanner(System.in) String str[]; str str = new String[3] str new String[3] 3 int num[]; num num = new int[3] num new int[3] 3 int num_yobi = 0; num_yobi 0 for(int i=0; i<=2; i++)
            {
            str[i] = in.next();
            num[i] = Integer.parseInt(str[i]);
            } int i=0; int i=0; i 0 i<=2 i 2 i++ i++ i {
            str[i] = in.next();
            num[i] = Integer.parseInt(str[i]);
            } {
            str[i] = in.next();
            num[i] = Integer.parseInt(str[i]);
            } str[i] = in.next() str[i] str i in.next() in.next in num[i] = Integer.parseInt(str[i]) num[i] num i Integer.parseInt(str[i]) Integer.parseInt Integer str[i] str i for(int j=0; j<=1; j++)
            {
            for(int i=0; i<=1-j; i++)
                {if(num[i] > num[i+1])
                    {
                    num_yobi = num[i];
                    num[i] = num[i+1];
                    num[i+1] = num_yobi;
                    }
                }
            } int j=0; int j=0; j 0 j<=1 j 1 j++ j++ j {
            for(int i=0; i<=1-j; i++)
                {if(num[i] > num[i+1])
                    {
                    num_yobi = num[i];
                    num[i] = num[i+1];
                    num[i+1] = num_yobi;
                    }
                }
            } {
            for(int i=0; i<=1-j; i++)
                {if(num[i] > num[i+1])
                    {
                    num_yobi = num[i];
                    num[i] = num[i+1];
                    num[i+1] = num_yobi;
                    }
                }
            } for(int i=0; i<=1-j; i++)
                {if(num[i] > num[i+1])
                    {
                    num_yobi = num[i];
                    num[i] = num[i+1];
                    num[i+1] = num_yobi;
                    }
                } int i=0; int i=0; i 0 i<=1-j i 1-j 1 j i++ i++ i {if(num[i] > num[i+1])
                    {
                    num_yobi = num[i];
                    num[i] = num[i+1];
                    num[i+1] = num_yobi;
                    }
                } {if(num[i] > num[i+1])
                    {
                    num_yobi = num[i];
                    num[i] = num[i+1];
                    num[i+1] = num_yobi;
                    }
                } if(num[i] > num[i+1])
                    {
                    num_yobi = num[i];
                    num[i] = num[i+1];
                    num[i+1] = num_yobi;
                    } num[i] > num[i+1] num[i] num i num[i+1] num i+1 i 1 {
                    num_yobi = num[i];
                    num[i] = num[i+1];
                    num[i+1] = num_yobi;
                    } num_yobi = num[i] num_yobi num[i] num i num[i] = num[i+1] num[i] num i num[i+1] num i+1 i 1 num[i+1] = num_yobi num[i+1] num i+1 i 1 num_yobi System.out.println(num[0]+" "+num[1]+" "+num[2]) System.out.println System.out System System.out num[0]+" "+num[1]+" "+num[2] " " num[1] num[0]+" "+num[1]+" "+num[2] num[0] num 0 " " num[1] num 1 " " num[2] num 2 String[] args args public class Main {
public static void main(String[] args) {

        Scanner in = new Scanner(System.in);
        String str[];
        str = new String[3];
        int num[];
        num = new int[3];
        int num_yobi = 0;
        for(int i=0; i<=2; i++)
            {
            str[i] = in.next();
            num[i] = Integer.parseInt(str[i]);
            }
        for(int j=0; j<=1; j++)
            {
            for(int i=0; i<=1-j; i++)
                {if(num[i] > num[i+1])
                    {
                    num_yobi = num[i];
                    num[i] = num[i+1];
                    num[i+1] = num_yobi;
                    }
                }
            }
        System.out.println(num[0]+" "+num[1]+" "+num[2]);
    }
    
} public class Main {
public static void main(String[] args) {

        Scanner in = new Scanner(System.in);
        String str[];
        str = new String[3];
        int num[];
        num = new int[3];
        int num_yobi = 0;
        for(int i=0; i<=2; i++)
            {
            str[i] = in.next();
            num[i] = Integer.parseInt(str[i]);
            }
        for(int j=0; j<=1; j++)
            {
            for(int i=0; i<=1-j; i++)
                {if(num[i] > num[i+1])
                    {
                    num_yobi = num[i];
                    num[i] = num[i+1];
                    num[i+1] = num_yobi;
                    }
                }
            }
        System.out.println(num[0]+" "+num[1]+" "+num[2]);
    }
    
} Main
import java.util.Scanner;
public class Main {
public static void main(String[] args) {

        Scanner in = new Scanner(System.in);
        String str[];
        str = new String[3];
        int num[];
        num = new int[3];
        int num_yobi = 0;
        for(int i=0; i<=2; i++)
            {
            str[i] = in.next();
            num[i] = Integer.parseInt(str[i]);
            }
        for(int j=0; j<=1; j++)
            {
            for(int i=0; i<=1-j; i++)
                {if(num[i] > num[i+1])
                    {
                    num_yobi = num[i];
                    num[i] = num[i+1];
                    num[i+1] = num_yobi;
                    }
                }
            }
        System.out.println(num[0]+" "+num[1]+" "+num[2]);
    }
    
}