import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;

class Main {
    public static void main(String[] args) {
        String line = readLine(System.in);
        String[] input = line.split(" ");
        int[] n = { Integer.parseInt(input[0]), Integer.parseInt(input[1]), Integer.parseInt(input[2]) };

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

        for (int i = 0; i < n.length; i++) {
            if (i > 0) {
                System.out.print(" ");
            }
            System.out.print(n[i]);
        }
        System.out.println();
    }

    private static String readLine(InputStream in) {
        String line = null;
        BufferedReader reader = null;

        try {
            reader = new BufferedReader(new InputStreamReader(in));
            line = reader.readLine();
        } catch (IOException e) {
            throw new RuntimeException(e);
        } finally {
            if (reader != null) {
                try {
                    reader.close();
                } catch (IOException e) {
                    throw new RuntimeException(e);
                }
            }
        }

        return line;
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStream; InputStream java.io import java.io.InputStreamReader; InputStreamReader java.io class Main {
    public static void main(String[] args) {
        String line = readLine(System.in);
        String[] input = line.split(" ");
        int[] n = { Integer.parseInt(input[0]), Integer.parseInt(input[1]), Integer.parseInt(input[2]) };

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

        for (int i = 0; i < n.length; i++) {
            if (i > 0) {
                System.out.print(" ");
            }
            System.out.print(n[i]);
        }
        System.out.println();
    }

    private static String readLine(InputStream in) {
        String line = null;
        BufferedReader reader = null;

        try {
            reader = new BufferedReader(new InputStreamReader(in));
            line = reader.readLine();
        } catch (IOException e) {
            throw new RuntimeException(e);
        } finally {
            if (reader != null) {
                try {
                    reader.close();
                } catch (IOException e) {
                    throw new RuntimeException(e);
                }
            }
        }

        return line;
    }
} Main public static void main(String[] args) {
        String line = readLine(System.in);
        String[] input = line.split(" ");
        int[] n = { Integer.parseInt(input[0]), Integer.parseInt(input[1]), Integer.parseInt(input[2]) };

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

        for (int i = 0; i < n.length; i++) {
            if (i > 0) {
                System.out.print(" ");
            }
            System.out.print(n[i]);
        }
        System.out.println();
    } main {
        String line = readLine(System.in);
        String[] input = line.split(" ");
        int[] n = { Integer.parseInt(input[0]), Integer.parseInt(input[1]), Integer.parseInt(input[2]) };

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

        for (int i = 0; i < n.length; i++) {
            if (i > 0) {
                System.out.print(" ");
            }
            System.out.print(n[i]);
        }
        System.out.println();
    } String line = readLine(System.in); line readLine(System.in) readLine System.in System System.in String[] input = line.split(" "); input line.split(" ") line.split line " " int[] n = { Integer.parseInt(input[0]), Integer.parseInt(input[1]), Integer.parseInt(input[2]) }; n { Integer.parseInt(input[0]), Integer.parseInt(input[1]), Integer.parseInt(input[2]) } Integer.parseInt(input[0]) Integer.parseInt Integer input[0] input 0 Integer.parseInt(input[1]) Integer.parseInt Integer input[1] input 1 Integer.parseInt(input[2]) Integer.parseInt Integer input[2] input 2 for (int i = 0; i < n.length; i++) {
            for (int j = i + 1; j < n.length; j++) {
                if (n[i] > n[j]) {
                    int tmp = n[i];
                    n[i] = n[j];
                    n[j] = tmp;
                }
            }
        } int i = 0; int i = 0; i 0 i < n.length i n.length n n.length i++ i++ i {
            for (int j = i + 1; j < n.length; j++) {
                if (n[i] > n[j]) {
                    int tmp = n[i];
                    n[i] = n[j];
                    n[j] = tmp;
                }
            }
        } {
            for (int j = i + 1; j < n.length; j++) {
                if (n[i] > n[j]) {
                    int tmp = n[i];
                    n[i] = n[j];
                    n[j] = tmp;
                }
            }
        } for (int j = i + 1; j < n.length; j++) {
                if (n[i] > n[j]) {
                    int tmp = n[i];
                    n[i] = n[j];
                    n[j] = tmp;
                }
            } int j = i + 1; int j = i + 1; j i + 1 i 1 j < n.length j n.length n n.length j++ j++ j {
                if (n[i] > n[j]) {
                    int tmp = n[i];
                    n[i] = n[j];
                    n[j] = tmp;
                }
            } {
                if (n[i] > n[j]) {
                    int tmp = n[i];
                    n[i] = n[j];
                    n[j] = tmp;
                }
            } if (n[i] > n[j]) {
                    int tmp = n[i];
                    n[i] = n[j];
                    n[j] = tmp;
                } n[i] > n[j] n[i] n i n[j] n j {
                    int tmp = n[i];
                    n[i] = n[j];
                    n[j] = tmp;
                } int tmp = n[i]; tmp n[i] n i n[i] = n[j] n[i] n i n[j] n j n[j] = tmp n[j] n j tmp for (int i = 0; i < n.length; i++) {
            if (i > 0) {
                System.out.print(" ");
            }
            System.out.print(n[i]);
        } int i = 0; int i = 0; i 0 i < n.length i n.length n n.length i++ i++ i {
            if (i > 0) {
                System.out.print(" ");
            }
            System.out.print(n[i]);
        } {
            if (i > 0) {
                System.out.print(" ");
            }
            System.out.print(n[i]);
        } if (i > 0) {
                System.out.print(" ");
            } i > 0 i 0 {
                System.out.print(" ");
            } System.out.print(" ") System.out.print System.out System System.out " " System.out.print(n[i]) System.out.print System.out System System.out n[i] n i System.out.println() System.out.println System.out System System.out String[] args args private static String readLine(InputStream in) {
        String line = null;
        BufferedReader reader = null;

        try {
            reader = new BufferedReader(new InputStreamReader(in));
            line = reader.readLine();
        } catch (IOException e) {
            throw new RuntimeException(e);
        } finally {
            if (reader != null) {
                try {
                    reader.close();
                } catch (IOException e) {
                    throw new RuntimeException(e);
                }
            }
        }

        return line;
    } readLine {
        String line = null;
        BufferedReader reader = null;

        try {
            reader = new BufferedReader(new InputStreamReader(in));
            line = reader.readLine();
        } catch (IOException e) {
            throw new RuntimeException(e);
        } finally {
            if (reader != null) {
                try {
                    reader.close();
                } catch (IOException e) {
                    throw new RuntimeException(e);
                }
            }
        }

        return line;
    } String line = null; line null BufferedReader reader = null; reader null try {
            reader = new BufferedReader(new InputStreamReader(in));
            line = reader.readLine();
        } catch (IOException e) {
            throw new RuntimeException(e);
        } finally {
            if (reader != null) {
                try {
                    reader.close();
                } catch (IOException e) {
                    throw new RuntimeException(e);
                }
            }
        } catch (IOException e) {
            throw new RuntimeException(e);
        } IOException e {
            throw new RuntimeException(e);
        } throw new RuntimeException(e); new RuntimeException(e) {
            if (reader != null) {
                try {
                    reader.close();
                } catch (IOException e) {
                    throw new RuntimeException(e);
                }
            }
        } if (reader != null) {
                try {
                    reader.close();
                } catch (IOException e) {
                    throw new RuntimeException(e);
                }
            } reader != null reader null {
                try {
                    reader.close();
                } catch (IOException e) {
                    throw new RuntimeException(e);
                }
            } try {
                    reader.close();
                } catch (IOException e) {
                    throw new RuntimeException(e);
                } catch (IOException e) {
                    throw new RuntimeException(e);
                } IOException e {
                    throw new RuntimeException(e);
                } throw new RuntimeException(e); new RuntimeException(e) {
                    reader.close();
                } reader.close() reader.close reader {
            reader = new BufferedReader(new InputStreamReader(in));
            line = reader.readLine();
        } reader = new BufferedReader(new InputStreamReader(in)) reader new BufferedReader(new InputStreamReader(in)) line = reader.readLine() line reader.readLine() reader.readLine reader return line; line InputStream in in
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;

class Main {
    public static void main(String[] args) {
        String line = readLine(System.in);
        String[] input = line.split(" ");
        int[] n = { Integer.parseInt(input[0]), Integer.parseInt(input[1]), Integer.parseInt(input[2]) };

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

        for (int i = 0; i < n.length; i++) {
            if (i > 0) {
                System.out.print(" ");
            }
            System.out.print(n[i]);
        }
        System.out.println();
    }

    private static String readLine(InputStream in) {
        String line = null;
        BufferedReader reader = null;

        try {
            reader = new BufferedReader(new InputStreamReader(in));
            line = reader.readLine();
        } catch (IOException e) {
            throw new RuntimeException(e);
        } finally {
            if (reader != null) {
                try {
                    reader.close();
                } catch (IOException e) {
                    throw new RuntimeException(e);
                }
            }
        }

        return line;
    }
}