import java.util.*;

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

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