import java.io.*;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;

class Main {
    public static void main(String[] args) throws IOException {
       Scanner in = new Scanner(System.in);
       ArrayList<Integer> intArr = new ArrayList<Integer>();
       for(int i=0;i<3;i++) intArr.add(in.nextInt());
       Collections.sort(intArr);
       System.out.printf("%d %d %d\n",
		       intArr.get(0), intArr.get(1), intArr.get(2));
    }
} import java.io.*; io.* java import java.util.ArrayList; ArrayList java.util import java.util.Collections; Collections java.util import java.util.Scanner; Scanner java.util class Main {
    public static void main(String[] args) throws IOException {
       Scanner in = new Scanner(System.in);
       ArrayList<Integer> intArr = new ArrayList<Integer>();
       for(int i=0;i<3;i++) intArr.add(in.nextInt());
       Collections.sort(intArr);
       System.out.printf("%d %d %d\n",
		       intArr.get(0), intArr.get(1), intArr.get(2));
    }
} Main public static void main(String[] args) throws IOException {
       Scanner in = new Scanner(System.in);
       ArrayList<Integer> intArr = new ArrayList<Integer>();
       for(int i=0;i<3;i++) intArr.add(in.nextInt());
       Collections.sort(intArr);
       System.out.printf("%d %d %d\n",
		       intArr.get(0), intArr.get(1), intArr.get(2));
    } main {
       Scanner in = new Scanner(System.in);
       ArrayList<Integer> intArr = new ArrayList<Integer>();
       for(int i=0;i<3;i++) intArr.add(in.nextInt());
       Collections.sort(intArr);
       System.out.printf("%d %d %d\n",
		       intArr.get(0), intArr.get(1), intArr.get(2));
    } Scanner in = new Scanner(System.in); in new Scanner(System.in) ArrayList<Integer> intArr = new ArrayList<Integer>(); intArr new ArrayList<Integer>() for(int i=0;i<3;i++) intArr.add(in.nextInt()); int i=0; int i=0; i 0 i<3 i 3 i++ i++ i intArr.add(in.nextInt()); intArr.add(in.nextInt()) intArr.add intArr in.nextInt() in.nextInt in Collections.sort(intArr) Collections.sort Collections intArr System.out.printf("%d %d %d\n",
		       intArr.get(0), intArr.get(1), intArr.get(2)) System.out.printf System.out System System.out "%d %d %d\n" intArr.get(0) intArr.get intArr 0 intArr.get(1) intArr.get intArr 1 intArr.get(2) intArr.get intArr 2 String[] args args
import java.io.*;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;

class Main {
    public static void main(String[] args) throws IOException {
       Scanner in = new Scanner(System.in);
       ArrayList<Integer> intArr = new ArrayList<Integer>();
       for(int i=0;i<3;i++) intArr.add(in.nextInt());
       Collections.sort(intArr);
       System.out.printf("%d %d %d\n",
		       intArr.get(0), intArr.get(1), intArr.get(2));
    }
}