import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;

public class Main {

    public static void main(String[] args) {
        try {
            BufferedReader stdReader = 
                    new BufferedReader( new InputStreamReader(System.in));
            String sStr = stdReader.readLine();

            String[] inputStr = sStr.split(" ");
            int input1 = Integer.valueOf(inputStr[0]).intValue();
            int input2 = Integer.valueOf(inputStr[1]).intValue();
            int input3 = Integer.valueOf(inputStr[2]).intValue();

            int[] unsortedInt = {input1, input2, input3};
            Arrays.sort(unsortedInt);
            
            StringBuilder sb = new StringBuilder();
            for(int i: unsortedInt) {
                sb.append(" ");
                sb.append(i);
            }
            sb.deleteCharAt(0);
            System.out.println(sb.toString());

            stdReader.close();
        } catch (Exception e) {
            System.exit(-1);
        } 
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.Arrays; Arrays java.util public class Main {

    public static void main(String[] args) {
        try {
            BufferedReader stdReader = 
                    new BufferedReader( new InputStreamReader(System.in));
            String sStr = stdReader.readLine();

            String[] inputStr = sStr.split(" ");
            int input1 = Integer.valueOf(inputStr[0]).intValue();
            int input2 = Integer.valueOf(inputStr[1]).intValue();
            int input3 = Integer.valueOf(inputStr[2]).intValue();

            int[] unsortedInt = {input1, input2, input3};
            Arrays.sort(unsortedInt);
            
            StringBuilder sb = new StringBuilder();
            for(int i: unsortedInt) {
                sb.append(" ");
                sb.append(i);
            }
            sb.deleteCharAt(0);
            System.out.println(sb.toString());

            stdReader.close();
        } catch (Exception e) {
            System.exit(-1);
        } 
    }
} Main public static void main(String[] args) {
        try {
            BufferedReader stdReader = 
                    new BufferedReader( new InputStreamReader(System.in));
            String sStr = stdReader.readLine();

            String[] inputStr = sStr.split(" ");
            int input1 = Integer.valueOf(inputStr[0]).intValue();
            int input2 = Integer.valueOf(inputStr[1]).intValue();
            int input3 = Integer.valueOf(inputStr[2]).intValue();

            int[] unsortedInt = {input1, input2, input3};
            Arrays.sort(unsortedInt);
            
            StringBuilder sb = new StringBuilder();
            for(int i: unsortedInt) {
                sb.append(" ");
                sb.append(i);
            }
            sb.deleteCharAt(0);
            System.out.println(sb.toString());

            stdReader.close();
        } catch (Exception e) {
            System.exit(-1);
        } 
    } main {
        try {
            BufferedReader stdReader = 
                    new BufferedReader( new InputStreamReader(System.in));
            String sStr = stdReader.readLine();

            String[] inputStr = sStr.split(" ");
            int input1 = Integer.valueOf(inputStr[0]).intValue();
            int input2 = Integer.valueOf(inputStr[1]).intValue();
            int input3 = Integer.valueOf(inputStr[2]).intValue();

            int[] unsortedInt = {input1, input2, input3};
            Arrays.sort(unsortedInt);
            
            StringBuilder sb = new StringBuilder();
            for(int i: unsortedInt) {
                sb.append(" ");
                sb.append(i);
            }
            sb.deleteCharAt(0);
            System.out.println(sb.toString());

            stdReader.close();
        } catch (Exception e) {
            System.exit(-1);
        } 
    } try {
            BufferedReader stdReader = 
                    new BufferedReader( new InputStreamReader(System.in));
            String sStr = stdReader.readLine();

            String[] inputStr = sStr.split(" ");
            int input1 = Integer.valueOf(inputStr[0]).intValue();
            int input2 = Integer.valueOf(inputStr[1]).intValue();
            int input3 = Integer.valueOf(inputStr[2]).intValue();

            int[] unsortedInt = {input1, input2, input3};
            Arrays.sort(unsortedInt);
            
            StringBuilder sb = new StringBuilder();
            for(int i: unsortedInt) {
                sb.append(" ");
                sb.append(i);
            }
            sb.deleteCharAt(0);
            System.out.println(sb.toString());

            stdReader.close();
        } catch (Exception e) {
            System.exit(-1);
        } catch (Exception e) {
            System.exit(-1);
        } Exception e {
            System.exit(-1);
        } System.exit(-1) System.exit System -1 1 {
            BufferedReader stdReader = 
                    new BufferedReader( new InputStreamReader(System.in));
            String sStr = stdReader.readLine();

            String[] inputStr = sStr.split(" ");
            int input1 = Integer.valueOf(inputStr[0]).intValue();
            int input2 = Integer.valueOf(inputStr[1]).intValue();
            int input3 = Integer.valueOf(inputStr[2]).intValue();

            int[] unsortedInt = {input1, input2, input3};
            Arrays.sort(unsortedInt);
            
            StringBuilder sb = new StringBuilder();
            for(int i: unsortedInt) {
                sb.append(" ");
                sb.append(i);
            }
            sb.deleteCharAt(0);
            System.out.println(sb.toString());

            stdReader.close();
        } BufferedReader stdReader = 
                    new BufferedReader( new InputStreamReader(System.in)); stdReader new BufferedReader( new InputStreamReader(System.in)) String sStr = stdReader.readLine(); sStr stdReader.readLine() stdReader.readLine stdReader String[] inputStr = sStr.split(" "); inputStr sStr.split(" ") sStr.split sStr " " int input1 = Integer.valueOf(inputStr[0]).intValue(); input1 Integer.valueOf(inputStr[0]).intValue() Integer.valueOf(inputStr[0]).intValue Integer.valueOf(inputStr[0]) Integer.valueOf Integer inputStr[0] inputStr 0 int input2 = Integer.valueOf(inputStr[1]).intValue(); input2 Integer.valueOf(inputStr[1]).intValue() Integer.valueOf(inputStr[1]).intValue Integer.valueOf(inputStr[1]) Integer.valueOf Integer inputStr[1] inputStr 1 int input3 = Integer.valueOf(inputStr[2]).intValue(); input3 Integer.valueOf(inputStr[2]).intValue() Integer.valueOf(inputStr[2]).intValue Integer.valueOf(inputStr[2]) Integer.valueOf Integer inputStr[2] inputStr 2 int[] unsortedInt = {input1, input2, input3}; unsortedInt {input1, input2, input3} input1 input2 input3 Arrays.sort(unsortedInt) Arrays.sort Arrays unsortedInt StringBuilder sb = new StringBuilder(); sb new StringBuilder() for(int i: unsortedInt) {
                sb.append(" ");
                sb.append(i);
            } int i unsortedInt {
                sb.append(" ");
                sb.append(i);
            } {
                sb.append(" ");
                sb.append(i);
            } sb.append(" ") sb.append sb " " sb.append(i) sb.append sb i sb.deleteCharAt(0) sb.deleteCharAt sb 0 System.out.println(sb.toString()) System.out.println System.out System System.out sb.toString() sb.toString sb stdReader.close() stdReader.close stdReader String[] args args public class Main {

    public static void main(String[] args) {
        try {
            BufferedReader stdReader = 
                    new BufferedReader( new InputStreamReader(System.in));
            String sStr = stdReader.readLine();

            String[] inputStr = sStr.split(" ");
            int input1 = Integer.valueOf(inputStr[0]).intValue();
            int input2 = Integer.valueOf(inputStr[1]).intValue();
            int input3 = Integer.valueOf(inputStr[2]).intValue();

            int[] unsortedInt = {input1, input2, input3};
            Arrays.sort(unsortedInt);
            
            StringBuilder sb = new StringBuilder();
            for(int i: unsortedInt) {
                sb.append(" ");
                sb.append(i);
            }
            sb.deleteCharAt(0);
            System.out.println(sb.toString());

            stdReader.close();
        } catch (Exception e) {
            System.exit(-1);
        } 
    }
} public class Main {

    public static void main(String[] args) {
        try {
            BufferedReader stdReader = 
                    new BufferedReader( new InputStreamReader(System.in));
            String sStr = stdReader.readLine();

            String[] inputStr = sStr.split(" ");
            int input1 = Integer.valueOf(inputStr[0]).intValue();
            int input2 = Integer.valueOf(inputStr[1]).intValue();
            int input3 = Integer.valueOf(inputStr[2]).intValue();

            int[] unsortedInt = {input1, input2, input3};
            Arrays.sort(unsortedInt);
            
            StringBuilder sb = new StringBuilder();
            for(int i: unsortedInt) {
                sb.append(" ");
                sb.append(i);
            }
            sb.deleteCharAt(0);
            System.out.println(sb.toString());

            stdReader.close();
        } catch (Exception e) {
            System.exit(-1);
        } 
    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;

public class Main {

    public static void main(String[] args) {
        try {
            BufferedReader stdReader = 
                    new BufferedReader( new InputStreamReader(System.in));
            String sStr = stdReader.readLine();

            String[] inputStr = sStr.split(" ");
            int input1 = Integer.valueOf(inputStr[0]).intValue();
            int input2 = Integer.valueOf(inputStr[1]).intValue();
            int input3 = Integer.valueOf(inputStr[2]).intValue();

            int[] unsortedInt = {input1, input2, input3};
            Arrays.sort(unsortedInt);
            
            StringBuilder sb = new StringBuilder();
            for(int i: unsortedInt) {
                sb.append(" ");
                sb.append(i);
            }
            sb.deleteCharAt(0);
            System.out.println(sb.toString());

            stdReader.close();
        } catch (Exception e) {
            System.exit(-1);
        } 
    }
}