import java.util.Scanner;

class Main {

	@SuppressWarnings("resource")
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		int[] hako = new int[] {a, b, c};
		
		for(int i=0;i<hako.length-1;i++){
			for(int j=hako.length-1;j>i;j--){
				if(hako[j]<hako[j-1]){
					  int t=hako[j];
					  hako[j]=hako[j-1];
					  hako[j-1]=t;
				}
			}
		}
		System.out.println(hako[0] + " " + hako[1] + " " + hako[2]);
	}
} import java.util.Scanner; Scanner java.util class Main {

	@SuppressWarnings("resource")
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		int[] hako = new int[] {a, b, c};
		
		for(int i=0;i<hako.length-1;i++){
			for(int j=hako.length-1;j>i;j--){
				if(hako[j]<hako[j-1]){
					  int t=hako[j];
					  hako[j]=hako[j-1];
					  hako[j-1]=t;
				}
			}
		}
		System.out.println(hako[0] + " " + hako[1] + " " + hako[2]);
	}
} Main @SuppressWarnings("resource")
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		int[] hako = new int[] {a, b, c};
		
		for(int i=0;i<hako.length-1;i++){
			for(int j=hako.length-1;j>i;j--){
				if(hako[j]<hako[j-1]){
					  int t=hako[j];
					  hako[j]=hako[j-1];
					  hako[j-1]=t;
				}
			}
		}
		System.out.println(hako[0] + " " + hako[1] + " " + hako[2]);
	} main {
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		int[] hako = new int[] {a, b, c};
		
		for(int i=0;i<hako.length-1;i++){
			for(int j=hako.length-1;j>i;j--){
				if(hako[j]<hako[j-1]){
					  int t=hako[j];
					  hako[j]=hako[j-1];
					  hako[j-1]=t;
				}
			}
		}
		System.out.println(hako[0] + " " + hako[1] + " " + hako[2]);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan int b = scan.nextInt(); b scan.nextInt() scan.nextInt scan int c = scan.nextInt(); c scan.nextInt() scan.nextInt scan int[] hako = new int[] {a, b, c}; hako new int[] {a, b, c} for(int i=0;i<hako.length-1;i++){
			for(int j=hako.length-1;j>i;j--){
				if(hako[j]<hako[j-1]){
					  int t=hako[j];
					  hako[j]=hako[j-1];
					  hako[j-1]=t;
				}
			}
		} int i=0; int i=0; i 0 i<hako.length-1 i hako.length-1 hako.length hako hako.length 1 i++ i++ i {
			for(int j=hako.length-1;j>i;j--){
				if(hako[j]<hako[j-1]){
					  int t=hako[j];
					  hako[j]=hako[j-1];
					  hako[j-1]=t;
				}
			}
		} {
			for(int j=hako.length-1;j>i;j--){
				if(hako[j]<hako[j-1]){
					  int t=hako[j];
					  hako[j]=hako[j-1];
					  hako[j-1]=t;
				}
			}
		} for(int j=hako.length-1;j>i;j--){
				if(hako[j]<hako[j-1]){
					  int t=hako[j];
					  hako[j]=hako[j-1];
					  hako[j-1]=t;
				}
			} int j=hako.length-1; int j=hako.length-1; j hako.length-1 hako.length hako hako.length 1 j>i j i j-- j-- j {
				if(hako[j]<hako[j-1]){
					  int t=hako[j];
					  hako[j]=hako[j-1];
					  hako[j-1]=t;
				}
			} {
				if(hako[j]<hako[j-1]){
					  int t=hako[j];
					  hako[j]=hako[j-1];
					  hako[j-1]=t;
				}
			} if(hako[j]<hako[j-1]){
					  int t=hako[j];
					  hako[j]=hako[j-1];
					  hako[j-1]=t;
				} hako[j]<hako[j-1] hako[j] hako j hako[j-1] hako j-1 j 1 {
					  int t=hako[j];
					  hako[j]=hako[j-1];
					  hako[j-1]=t;
				} int t=hako[j]; t hako[j] hako j hako[j]=hako[j-1] hako[j] hako j hako[j-1] hako j-1 j 1 hako[j-1]=t hako[j-1] hako j-1 j 1 t System.out.println(hako[0] + " " + hako[1] + " " + hako[2]) System.out.println System.out System System.out hako[0] + " " + hako[1] + " " + hako[2] " " hako[1] hako[0] + " " + hako[1] + " " + hako[2] hako[0] hako 0 " " hako[1] hako 1 " " hako[2] hako 2 String[] args args
import java.util.Scanner;

class Main {

	@SuppressWarnings("resource")
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		int[] hako = new int[] {a, b, c};
		
		for(int i=0;i<hako.length-1;i++){
			for(int j=hako.length-1;j>i;j--){
				if(hako[j]<hako[j-1]){
					  int t=hako[j];
					  hako[j]=hako[j-1];
					  hako[j-1]=t;
				}
			}
		}
		System.out.println(hako[0] + " " + hako[1] + " " + hako[2]);
	}
}