import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader r =
            new BufferedReader(new InputStreamReader(System.in), 1);
        String is = r.readLine();
        String[] sp = is.split(" ");
      //ArrayList???????????????
        ArrayList<Integer> al = new ArrayList<Integer>();

        //Integer????????°??????????????????
        al.add(Integer.parseInt(sp[0]));
        al.add(Integer.parseInt(sp[1]));
        al.add(Integer.parseInt(sp[2]));

        //????????§???????????????
        Collections.sort(al);
        System.out.println(al.get(0) + " " + al.get(1) + " " + al.get(2));
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.ArrayList; ArrayList java.util import java.util.Collections; Collections java.util class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader r =
            new BufferedReader(new InputStreamReader(System.in), 1);
        String is = r.readLine();
        String[] sp = is.split(" ");
      //ArrayList???????????????
        ArrayList<Integer> al = new ArrayList<Integer>();

        //Integer????????°??????????????????
        al.add(Integer.parseInt(sp[0]));
        al.add(Integer.parseInt(sp[1]));
        al.add(Integer.parseInt(sp[2]));

        //????????§???????????????
        Collections.sort(al);
        System.out.println(al.get(0) + " " + al.get(1) + " " + al.get(2));
    }
} Main public static void main(String[] args) throws IOException {
        BufferedReader r =
            new BufferedReader(new InputStreamReader(System.in), 1);
        String is = r.readLine();
        String[] sp = is.split(" ");
      //ArrayList???????????????
        ArrayList<Integer> al = new ArrayList<Integer>();

        //Integer????????°??????????????????
        al.add(Integer.parseInt(sp[0]));
        al.add(Integer.parseInt(sp[1]));
        al.add(Integer.parseInt(sp[2]));

        //????????§???????????????
        Collections.sort(al);
        System.out.println(al.get(0) + " " + al.get(1) + " " + al.get(2));
    } main {
        BufferedReader r =
            new BufferedReader(new InputStreamReader(System.in), 1);
        String is = r.readLine();
        String[] sp = is.split(" ");
      //ArrayList???????????????
        ArrayList<Integer> al = new ArrayList<Integer>();

        //Integer????????°??????????????????
        al.add(Integer.parseInt(sp[0]));
        al.add(Integer.parseInt(sp[1]));
        al.add(Integer.parseInt(sp[2]));

        //????????§???????????????
        Collections.sort(al);
        System.out.println(al.get(0) + " " + al.get(1) + " " + al.get(2));
    } BufferedReader r =
            new BufferedReader(new InputStreamReader(System.in), 1); r new BufferedReader(new InputStreamReader(System.in), 1) String is = r.readLine(); is r.readLine() r.readLine r String[] sp = is.split(" "); sp is.split(" ") is.split is " " ArrayList<Integer> al = new ArrayList<Integer>(); al new ArrayList<Integer>() al.add(Integer.parseInt(sp[0])) al.add al Integer.parseInt(sp[0]) Integer.parseInt Integer sp[0] sp 0 al.add(Integer.parseInt(sp[1])) al.add al Integer.parseInt(sp[1]) Integer.parseInt Integer sp[1] sp 1 al.add(Integer.parseInt(sp[2])) al.add al Integer.parseInt(sp[2]) Integer.parseInt Integer sp[2] sp 2 Collections.sort(al) Collections.sort Collections al System.out.println(al.get(0) + " " + al.get(1) + " " + al.get(2)) System.out.println System.out System System.out al.get(0) + " " + al.get(1) + " " + al.get(2) " " al.get(1) al.get(0) + " " + al.get(1) + " " + al.get(2) al.get(0) al.get al 0 " " al.get(1) al.get al 1 " " al.get(2) al.get al 2 String[] args args
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader r =
            new BufferedReader(new InputStreamReader(System.in), 1);
        String is = r.readLine();
        String[] sp = is.split(" ");
      //ArrayList???????????????
        ArrayList<Integer> al = new ArrayList<Integer>();

        //Integer????????°??????????????????
        al.add(Integer.parseInt(sp[0]));
        al.add(Integer.parseInt(sp[1]));
        al.add(Integer.parseInt(sp[2]));

        //????????§???????????????
        Collections.sort(al);
        System.out.println(al.get(0) + " " + al.get(1) + " " + al.get(2));
    }
}