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 );
    }
}
/tmp/hf-datasets-cache/medium/datasets/42704881117311-config-parquet-and-info-qiankunmu-Project_CodeNet-896c9d36/hub/datasets--qiankunmu--Project_CodeNet_Python800_and_Java250/snapshots/c899fde44a77ba1cc14973ed3de064e4ff3aadc7/Project_CodeNet_Java250.tar.gz