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