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

class SortingThreeNumbers {

    public static int[] sorted( int[] inputs) {
        int[] res = Arrays.copyOf( inputs, inputs.length );

        for ( int i = 0; i < res.length; i++ ) {
            for ( int j = 1; j < res.length - i; j++ ) {
                if ( res[j - 1] > res[j] ) {
                    int tmp = res[j - 1];
                    res[j - 1] = res[j];
                    res[j] = tmp;
                }
            }
        }

        return res;
    }

}

public class Main {
    public static void main( String... args) {
        Scanner scan = new Scanner( System.in);
        int[] inputs = new int[3];
        int i = 0;
        while ( scan.hasNext() ) {
            inputs[i] = scan.nextInt();
            i++;
        }

        StringBuilder output = new StringBuilder();
        for ( int num : SortingThreeNumbers.sorted( inputs ) ) {
            output.append( String.valueOf( num ) + " ");
        }
        output.deleteCharAt( output.length() - 1);
        out.println( output );
    }
} import java.util.Scanner; Scanner java.util import java.util.Arrays; Arrays java.util import static java.lang.System.out; import static java.lang.System.out; import static java.lang.System.out; class SortingThreeNumbers {

    public static int[] sorted( int[] inputs) {
        int[] res = Arrays.copyOf( inputs, inputs.length );

        for ( int i = 0; i < res.length; i++ ) {
            for ( int j = 1; j < res.length - i; j++ ) {
                if ( res[j - 1] > res[j] ) {
                    int tmp = res[j - 1];
                    res[j - 1] = res[j];
                    res[j] = tmp;
                }
            }
        }

        return res;
    }

} SortingThreeNumbers public static int[] sorted( int[] inputs) {
        int[] res = Arrays.copyOf( inputs, inputs.length );

        for ( int i = 0; i < res.length; i++ ) {
            for ( int j = 1; j < res.length - i; j++ ) {
                if ( res[j - 1] > res[j] ) {
                    int tmp = res[j - 1];
                    res[j - 1] = res[j];
                    res[j] = tmp;
                }
            }
        }

        return res;
    } sorted {
        int[] res = Arrays.copyOf( inputs, inputs.length );

        for ( int i = 0; i < res.length; i++ ) {
            for ( int j = 1; j < res.length - i; j++ ) {
                if ( res[j - 1] > res[j] ) {
                    int tmp = res[j - 1];
                    res[j - 1] = res[j];
                    res[j] = tmp;
                }
            }
        }

        return res;
    } int[] res = Arrays.copyOf( inputs, inputs.length ); res Arrays.copyOf( inputs, inputs.length ) Arrays.copyOf Arrays inputs inputs.length inputs inputs.length for ( int i = 0; i < res.length; i++ ) {
            for ( int j = 1; j < res.length - i; j++ ) {
                if ( res[j - 1] > res[j] ) {
                    int tmp = res[j - 1];
                    res[j - 1] = res[j];
                    res[j] = tmp;
                }
            }
        } int i = 0; int i = 0; i 0 i < res.length i res.length res res.length i++ i++ i {
            for ( int j = 1; j < res.length - i; j++ ) {
                if ( res[j - 1] > res[j] ) {
                    int tmp = res[j - 1];
                    res[j - 1] = res[j];
                    res[j] = tmp;
                }
            }
        } {
            for ( int j = 1; j < res.length - i; j++ ) {
                if ( res[j - 1] > res[j] ) {
                    int tmp = res[j - 1];
                    res[j - 1] = res[j];
                    res[j] = tmp;
                }
            }
        } for ( int j = 1; j < res.length - i; j++ ) {
                if ( res[j - 1] > res[j] ) {
                    int tmp = res[j - 1];
                    res[j - 1] = res[j];
                    res[j] = tmp;
                }
            } int j = 1; int j = 1; j 1 j < res.length - i j res.length - i res.length res res.length i j++ j++ j {
                if ( res[j - 1] > res[j] ) {
                    int tmp = res[j - 1];
                    res[j - 1] = res[j];
                    res[j] = tmp;
                }
            } {
                if ( res[j - 1] > res[j] ) {
                    int tmp = res[j - 1];
                    res[j - 1] = res[j];
                    res[j] = tmp;
                }
            } if ( res[j - 1] > res[j] ) {
                    int tmp = res[j - 1];
                    res[j - 1] = res[j];
                    res[j] = tmp;
                } res[j - 1] > res[j] res[j - 1] res j - 1 j 1 res[j] res j {
                    int tmp = res[j - 1];
                    res[j - 1] = res[j];
                    res[j] = tmp;
                } int tmp = res[j - 1]; tmp res[j - 1] res j - 1 j 1 res[j - 1] = res[j] res[j - 1] res j - 1 j 1 res[j] res j res[j] = tmp res[j] res j tmp return res; res int[] inputs inputs public class Main {
    public static void main( String... args) {
        Scanner scan = new Scanner( System.in);
        int[] inputs = new int[3];
        int i = 0;
        while ( scan.hasNext() ) {
            inputs[i] = scan.nextInt();
            i++;
        }

        StringBuilder output = new StringBuilder();
        for ( int num : SortingThreeNumbers.sorted( inputs ) ) {
            output.append( String.valueOf( num ) + " ");
        }
        output.deleteCharAt( output.length() - 1);
        out.println( output );
    }
} Main public static void main( String... args) {
        Scanner scan = new Scanner( System.in);
        int[] inputs = new int[3];
        int i = 0;
        while ( scan.hasNext() ) {
            inputs[i] = scan.nextInt();
            i++;
        }

        StringBuilder output = new StringBuilder();
        for ( int num : SortingThreeNumbers.sorted( inputs ) ) {
            output.append( String.valueOf( num ) + " ");
        }
        output.deleteCharAt( output.length() - 1);
        out.println( output );
    } main {
        Scanner scan = new Scanner( System.in);
        int[] inputs = new int[3];
        int i = 0;
        while ( scan.hasNext() ) {
            inputs[i] = scan.nextInt();
            i++;
        }

        StringBuilder output = new StringBuilder();
        for ( int num : SortingThreeNumbers.sorted( inputs ) ) {
            output.append( String.valueOf( num ) + " ");
        }
        output.deleteCharAt( output.length() - 1);
        out.println( output );
    } Scanner scan = new Scanner( System.in); scan new Scanner( System.in) int[] inputs = new int[3]; inputs new int[3] 3 int i = 0; i 0 while ( scan.hasNext() ) {
            inputs[i] = scan.nextInt();
            i++;
        } scan.hasNext() scan.hasNext scan {
            inputs[i] = scan.nextInt();
            i++;
        } inputs[i] = scan.nextInt() inputs[i] inputs i scan.nextInt() scan.nextInt scan i++ i StringBuilder output = new StringBuilder(); output new StringBuilder() for ( int num : SortingThreeNumbers.sorted( inputs ) ) {
            output.append( String.valueOf( num ) + " ");
        } int num SortingThreeNumbers.sorted( inputs ) SortingThreeNumbers.sorted SortingThreeNumbers inputs {
            output.append( String.valueOf( num ) + " ");
        } {
            output.append( String.valueOf( num ) + " ");
        } output.append( String.valueOf( num ) + " ") output.append output String.valueOf( num ) + " " String.valueOf( num ) String.valueOf String num " " output.deleteCharAt( output.length() - 1) output.deleteCharAt output output.length() - 1 output.length() output.length output 1 out.println( output ) out.println out output String... args args public class Main {
    public static void main( String... args) {
        Scanner scan = new Scanner( System.in);
        int[] inputs = new int[3];
        int i = 0;
        while ( scan.hasNext() ) {
            inputs[i] = scan.nextInt();
            i++;
        }

        StringBuilder output = new StringBuilder();
        for ( int num : SortingThreeNumbers.sorted( inputs ) ) {
            output.append( String.valueOf( num ) + " ");
        }
        output.deleteCharAt( output.length() - 1);
        out.println( output );
    }
} public class Main {
    public static void main( String... args) {
        Scanner scan = new Scanner( System.in);
        int[] inputs = new int[3];
        int i = 0;
        while ( scan.hasNext() ) {
            inputs[i] = scan.nextInt();
            i++;
        }

        StringBuilder output = new StringBuilder();
        for ( int num : SortingThreeNumbers.sorted( inputs ) ) {
            output.append( String.valueOf( num ) + " ");
        }
        output.deleteCharAt( output.length() - 1);
        out.println( output );
    }
} Main
import java.util.Scanner;
import java.util.Arrays;
import static java.lang.System.out;

class SortingThreeNumbers {

    public static int[] sorted( int[] inputs) {
        int[] res = Arrays.copyOf( inputs, inputs.length );

        for ( int i = 0; i < res.length; i++ ) {
            for ( int j = 1; j < res.length - i; j++ ) {
                if ( res[j - 1] > res[j] ) {
                    int tmp = res[j - 1];
                    res[j - 1] = res[j];
                    res[j] = tmp;
                }
            }
        }

        return res;
    }

}

public class Main {
    public static void main( String... args) {
        Scanner scan = new Scanner( System.in);
        int[] inputs = new int[3];
        int i = 0;
        while ( scan.hasNext() ) {
            inputs[i] = scan.nextInt();
            i++;
        }

        StringBuilder output = new StringBuilder();
        for ( int num : SortingThreeNumbers.sorted( inputs ) ) {
            output.append( String.valueOf( num ) + " ");
        }
        output.deleteCharAt( output.length() - 1);
        out.println( output );
    }
}