import java.util.Arrays;
import java.util.Scanner;





public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a,b,c = 0;
		a = sc.nextInt();
		b = sc.nextInt();
		c = sc.nextInt();

		int[] aaa = {a,b,c};

		Arrays.sort(aaa);

        System.out.print(aaa[0] + " ");
        System.out.print(aaa[1] + " ");
        System.out.println(aaa[2]);
        /*
		for(int i : aaa) {
            System.out.print(i + " ");
		}
		*/
	}

}
 import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a,b,c = 0;
		a = sc.nextInt();
		b = sc.nextInt();
		c = sc.nextInt();

		int[] aaa = {a,b,c};

		Arrays.sort(aaa);

        System.out.print(aaa[0] + " ");
        System.out.print(aaa[1] + " ");
        System.out.println(aaa[2]);
        /*
		for(int i : aaa) {
            System.out.print(i + " ");
		}
		*/
	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a,b,c = 0;
		a = sc.nextInt();
		b = sc.nextInt();
		c = sc.nextInt();

		int[] aaa = {a,b,c};

		Arrays.sort(aaa);

        System.out.print(aaa[0] + " ");
        System.out.print(aaa[1] + " ");
        System.out.println(aaa[2]);
        /*
		for(int i : aaa) {
            System.out.print(i + " ");
		}
		*/
	} main {
		Scanner sc = new Scanner(System.in);
		int a,b,c = 0;
		a = sc.nextInt();
		b = sc.nextInt();
		c = sc.nextInt();

		int[] aaa = {a,b,c};

		Arrays.sort(aaa);

        System.out.print(aaa[0] + " ");
        System.out.print(aaa[1] + " ");
        System.out.println(aaa[2]);
        /*
		for(int i : aaa) {
            System.out.print(i + " ");
		}
		*/
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a a b b c = 0; c 0 a = sc.nextInt() a sc.nextInt() sc.nextInt sc b = sc.nextInt() b sc.nextInt() sc.nextInt sc c = sc.nextInt() c sc.nextInt() sc.nextInt sc int[] aaa = {a,b,c}; aaa {a,b,c} a b c Arrays.sort(aaa) Arrays.sort Arrays aaa System.out.print(aaa[0] + " ") System.out.print System.out System System.out aaa[0] + " " aaa[0] aaa 0 " " System.out.print(aaa[1] + " ") System.out.print System.out System System.out aaa[1] + " " aaa[1] aaa 1 " " System.out.println(aaa[2]) System.out.println System.out System System.out aaa[2] aaa 2 String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a,b,c = 0;
		a = sc.nextInt();
		b = sc.nextInt();
		c = sc.nextInt();

		int[] aaa = {a,b,c};

		Arrays.sort(aaa);

        System.out.print(aaa[0] + " ");
        System.out.print(aaa[1] + " ");
        System.out.println(aaa[2]);
        /*
		for(int i : aaa) {
            System.out.print(i + " ");
		}
		*/
	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a,b,c = 0;
		a = sc.nextInt();
		b = sc.nextInt();
		c = sc.nextInt();

		int[] aaa = {a,b,c};

		Arrays.sort(aaa);

        System.out.print(aaa[0] + " ");
        System.out.print(aaa[1] + " ");
        System.out.println(aaa[2]);
        /*
		for(int i : aaa) {
            System.out.print(i + " ");
		}
		*/
	}

} Main
import java.util.Arrays;
import java.util.Scanner;





public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a,b,c = 0;
		a = sc.nextInt();
		b = sc.nextInt();
		c = sc.nextInt();

		int[] aaa = {a,b,c};

		Arrays.sort(aaa);

        System.out.print(aaa[0] + " ");
        System.out.print(aaa[1] + " ");
        System.out.println(aaa[2]);
        /*
		for(int i : aaa) {
            System.out.print(i + " ");
		}
		*/
	}

}

