import java.util.*;

class Main {
	static Scanner sc =new Scanner(System.in);
	static int a;
	static int b;
	static int c;
    static int [] x;
		public static void main (String[]agrs){
			a=sc.nextInt();
			b=sc.nextInt();
			c=sc.nextInt();
			int[]x=new int[]{a,b,c};
			
			Arrays.sort(x);
			for(int i = 0;i<x.length;i++){
				System.out.print(x[i]);
				if(i<2){
					System.out.print(" ");
				}
			}
			System.out.println();
		}
} import java.util.*; util.* java class Main {
	static Scanner sc =new Scanner(System.in);
	static int a;
	static int b;
	static int c;
    static int [] x;
		public static void main (String[]agrs){
			a=sc.nextInt();
			b=sc.nextInt();
			c=sc.nextInt();
			int[]x=new int[]{a,b,c};
			
			Arrays.sort(x);
			for(int i = 0;i<x.length;i++){
				System.out.print(x[i]);
				if(i<2){
					System.out.print(" ");
				}
			}
			System.out.println();
		}
} Main static Scanner sc =new Scanner(System.in); sc new Scanner(System.in) static int a; a static int b; b static int c; c static int [] x; x public static void main (String[]agrs){
			a=sc.nextInt();
			b=sc.nextInt();
			c=sc.nextInt();
			int[]x=new int[]{a,b,c};
			
			Arrays.sort(x);
			for(int i = 0;i<x.length;i++){
				System.out.print(x[i]);
				if(i<2){
					System.out.print(" ");
				}
			}
			System.out.println();
		} main {
			a=sc.nextInt();
			b=sc.nextInt();
			c=sc.nextInt();
			int[]x=new int[]{a,b,c};
			
			Arrays.sort(x);
			for(int i = 0;i<x.length;i++){
				System.out.print(x[i]);
				if(i<2){
					System.out.print(" ");
				}
			}
			System.out.println();
		} 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[]x=new int[]{a,b,c}; x new int[]{a,b,c} Arrays.sort(x) Arrays.sort Arrays x for(int i = 0;i<x.length;i++){
				System.out.print(x[i]);
				if(i<2){
					System.out.print(" ");
				}
			} int i = 0; int i = 0; i 0 i<x.length i x.length x x.length i++ i++ i {
				System.out.print(x[i]);
				if(i<2){
					System.out.print(" ");
				}
			} {
				System.out.print(x[i]);
				if(i<2){
					System.out.print(" ");
				}
			} System.out.print(x[i]) System.out.print System.out System System.out x[i] x i if(i<2){
					System.out.print(" ");
				} i<2 i 2 {
					System.out.print(" ");
				} System.out.print(" ") System.out.print System.out System System.out " " System.out.println() System.out.println System.out System System.out String[]agrs agrs
import java.util.*;

class Main {
	static Scanner sc =new Scanner(System.in);
	static int a;
	static int b;
	static int c;
    static int [] x;
		public static void main (String[]agrs){
			a=sc.nextInt();
			b=sc.nextInt();
			c=sc.nextInt();
			int[]x=new int[]{a,b,c};
			
			Arrays.sort(x);
			for(int i = 0;i<x.length;i++){
				System.out.print(x[i]);
				if(i<2){
					System.out.print(" ");
				}
			}
			System.out.println();
		}
}