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

public class Main {

    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line = br.readLine();
        String split[] = line.split(" ", 0);
        int sort[] = new int[3];
        int temp;

        sort[0] = Integer.parseInt(split[0]);
        sort[1] = Integer.parseInt(split[1]);
        sort[2] = Integer.parseInt(split[2]);

        for (int j = 0; j < 3; j++) {
            for (int i = 1; i < 3; i++) {
                if (sort[i - 1] > sort[i]) {
                    temp = sort[i - 1];
                    sort[i - 1] = sort[i];
                    sort[i] = temp;
                }
            }
        }

        System.out.println(sort[0] + " " + sort[1] + " " + sort[2]);
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line = br.readLine();
        String split[] = line.split(" ", 0);
        int sort[] = new int[3];
        int temp;

        sort[0] = Integer.parseInt(split[0]);
        sort[1] = Integer.parseInt(split[1]);
        sort[2] = Integer.parseInt(split[2]);

        for (int j = 0; j < 3; j++) {
            for (int i = 1; i < 3; i++) {
                if (sort[i - 1] > sort[i]) {
                    temp = sort[i - 1];
                    sort[i - 1] = sort[i];
                    sort[i] = temp;
                }
            }
        }

        System.out.println(sort[0] + " " + sort[1] + " " + sort[2]);
    }
} Main public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line = br.readLine();
        String split[] = line.split(" ", 0);
        int sort[] = new int[3];
        int temp;

        sort[0] = Integer.parseInt(split[0]);
        sort[1] = Integer.parseInt(split[1]);
        sort[2] = Integer.parseInt(split[2]);

        for (int j = 0; j < 3; j++) {
            for (int i = 1; i < 3; i++) {
                if (sort[i - 1] > sort[i]) {
                    temp = sort[i - 1];
                    sort[i - 1] = sort[i];
                    sort[i] = temp;
                }
            }
        }

        System.out.println(sort[0] + " " + sort[1] + " " + sort[2]);
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line = br.readLine();
        String split[] = line.split(" ", 0);
        int sort[] = new int[3];
        int temp;

        sort[0] = Integer.parseInt(split[0]);
        sort[1] = Integer.parseInt(split[1]);
        sort[2] = Integer.parseInt(split[2]);

        for (int j = 0; j < 3; j++) {
            for (int i = 1; i < 3; i++) {
                if (sort[i - 1] > sort[i]) {
                    temp = sort[i - 1];
                    sort[i - 1] = sort[i];
                    sort[i] = temp;
                }
            }
        }

        System.out.println(sort[0] + " " + sort[1] + " " + sort[2]);
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String line = br.readLine(); line br.readLine() br.readLine br String split[] = line.split(" ", 0); split line.split(" ", 0) line.split line " " 0 int sort[] = new int[3]; sort new int[3] 3 int temp; temp sort[0] = Integer.parseInt(split[0]) sort[0] sort 0 Integer.parseInt(split[0]) Integer.parseInt Integer split[0] split 0 sort[1] = Integer.parseInt(split[1]) sort[1] sort 1 Integer.parseInt(split[1]) Integer.parseInt Integer split[1] split 1 sort[2] = Integer.parseInt(split[2]) sort[2] sort 2 Integer.parseInt(split[2]) Integer.parseInt Integer split[2] split 2 for (int j = 0; j < 3; j++) {
            for (int i = 1; i < 3; i++) {
                if (sort[i - 1] > sort[i]) {
                    temp = sort[i - 1];
                    sort[i - 1] = sort[i];
                    sort[i] = temp;
                }
            }
        } int j = 0; int j = 0; j 0 j < 3 j 3 j++ j++ j {
            for (int i = 1; i < 3; i++) {
                if (sort[i - 1] > sort[i]) {
                    temp = sort[i - 1];
                    sort[i - 1] = sort[i];
                    sort[i] = temp;
                }
            }
        } {
            for (int i = 1; i < 3; i++) {
                if (sort[i - 1] > sort[i]) {
                    temp = sort[i - 1];
                    sort[i - 1] = sort[i];
                    sort[i] = temp;
                }
            }
        } for (int i = 1; i < 3; i++) {
                if (sort[i - 1] > sort[i]) {
                    temp = sort[i - 1];
                    sort[i - 1] = sort[i];
                    sort[i] = temp;
                }
            } int i = 1; int i = 1; i 1 i < 3 i 3 i++ i++ i {
                if (sort[i - 1] > sort[i]) {
                    temp = sort[i - 1];
                    sort[i - 1] = sort[i];
                    sort[i] = temp;
                }
            } {
                if (sort[i - 1] > sort[i]) {
                    temp = sort[i - 1];
                    sort[i - 1] = sort[i];
                    sort[i] = temp;
                }
            } if (sort[i - 1] > sort[i]) {
                    temp = sort[i - 1];
                    sort[i - 1] = sort[i];
                    sort[i] = temp;
                } sort[i - 1] > sort[i] sort[i - 1] sort i - 1 i 1 sort[i] sort i {
                    temp = sort[i - 1];
                    sort[i - 1] = sort[i];
                    sort[i] = temp;
                } temp = sort[i - 1] temp sort[i - 1] sort i - 1 i 1 sort[i - 1] = sort[i] sort[i - 1] sort i - 1 i 1 sort[i] sort i sort[i] = temp sort[i] sort i temp System.out.println(sort[0] + " " + sort[1] + " " + sort[2]) System.out.println System.out System System.out sort[0] + " " + sort[1] + " " + sort[2] " " sort[1] sort[0] + " " + sort[1] + " " + sort[2] sort[0] sort 0 " " sort[1] sort 1 " " sort[2] sort 2 String[] args args public class Main {

    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line = br.readLine();
        String split[] = line.split(" ", 0);
        int sort[] = new int[3];
        int temp;

        sort[0] = Integer.parseInt(split[0]);
        sort[1] = Integer.parseInt(split[1]);
        sort[2] = Integer.parseInt(split[2]);

        for (int j = 0; j < 3; j++) {
            for (int i = 1; i < 3; i++) {
                if (sort[i - 1] > sort[i]) {
                    temp = sort[i - 1];
                    sort[i - 1] = sort[i];
                    sort[i] = temp;
                }
            }
        }

        System.out.println(sort[0] + " " + sort[1] + " " + sort[2]);
    }
} public class Main {

    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line = br.readLine();
        String split[] = line.split(" ", 0);
        int sort[] = new int[3];
        int temp;

        sort[0] = Integer.parseInt(split[0]);
        sort[1] = Integer.parseInt(split[1]);
        sort[2] = Integer.parseInt(split[2]);

        for (int j = 0; j < 3; j++) {
            for (int i = 1; i < 3; i++) {
                if (sort[i - 1] > sort[i]) {
                    temp = sort[i - 1];
                    sort[i - 1] = sort[i];
                    sort[i] = temp;
                }
            }
        }

        System.out.println(sort[0] + " " + sort[1] + " " + sort[2]);
    }
} Main

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

public class Main {

    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line = br.readLine();
        String split[] = line.split(" ", 0);
        int sort[] = new int[3];
        int temp;

        sort[0] = Integer.parseInt(split[0]);
        sort[1] = Integer.parseInt(split[1]);
        sort[2] = Integer.parseInt(split[2]);

        for (int j = 0; j < 3; j++) {
            for (int i = 1; i < 3; i++) {
                if (sort[i - 1] > sort[i]) {
                    temp = sort[i - 1];
                    sort[i - 1] = sort[i];
                    sort[i] = temp;
                }
            }
        }

        System.out.println(sort[0] + " " + sort[1] + " " + sort[2]);
    }
}