import java.util.Scanner;
public class Main {
	
	public static void main(String[] args) {
		int i,j,wk;

		Scanner scan=new Scanner(System.in);
		int a[]=new int [3];
		
		for( i=0;i<3;i++){
			 a[i]=scan.nextInt();
		}
		
		scan.close();
		
		for( i=0;i<a.length-1;i++){
			wk=i;
			for( j=i+1;j<a.length;j++){
				if(a[wk]>a[j])
					wk=j;
			}
			if(wk!=i){
				int temp=0;
				temp=a[wk];
				a[wk]=a[i];
				a[i]=temp;
			}
		}
		
		for(i=0;i<a.length-1;i++){ 
			System.out.print(a[i]+" ");
		}
	 System.out.print(a[i]+"\n");
	}

} import java.util.Scanner; Scanner java.util public class Main {
	
	public static void main(String[] args) {
		int i,j,wk;

		Scanner scan=new Scanner(System.in);
		int a[]=new int [3];
		
		for( i=0;i<3;i++){
			 a[i]=scan.nextInt();
		}
		
		scan.close();
		
		for( i=0;i<a.length-1;i++){
			wk=i;
			for( j=i+1;j<a.length;j++){
				if(a[wk]>a[j])
					wk=j;
			}
			if(wk!=i){
				int temp=0;
				temp=a[wk];
				a[wk]=a[i];
				a[i]=temp;
			}
		}
		
		for(i=0;i<a.length-1;i++){ 
			System.out.print(a[i]+" ");
		}
	 System.out.print(a[i]+"\n");
	}

} Main public static void main(String[] args) {
		int i,j,wk;

		Scanner scan=new Scanner(System.in);
		int a[]=new int [3];
		
		for( i=0;i<3;i++){
			 a[i]=scan.nextInt();
		}
		
		scan.close();
		
		for( i=0;i<a.length-1;i++){
			wk=i;
			for( j=i+1;j<a.length;j++){
				if(a[wk]>a[j])
					wk=j;
			}
			if(wk!=i){
				int temp=0;
				temp=a[wk];
				a[wk]=a[i];
				a[i]=temp;
			}
		}
		
		for(i=0;i<a.length-1;i++){ 
			System.out.print(a[i]+" ");
		}
	 System.out.print(a[i]+"\n");
	} main {
		int i,j,wk;

		Scanner scan=new Scanner(System.in);
		int a[]=new int [3];
		
		for( i=0;i<3;i++){
			 a[i]=scan.nextInt();
		}
		
		scan.close();
		
		for( i=0;i<a.length-1;i++){
			wk=i;
			for( j=i+1;j<a.length;j++){
				if(a[wk]>a[j])
					wk=j;
			}
			if(wk!=i){
				int temp=0;
				temp=a[wk];
				a[wk]=a[i];
				a[i]=temp;
			}
		}
		
		for(i=0;i<a.length-1;i++){ 
			System.out.print(a[i]+" ");
		}
	 System.out.print(a[i]+"\n");
	} int i i j j wk; wk Scanner scan=new Scanner(System.in); scan new Scanner(System.in) int a[]=new int [3]; a new int [3] 3 for( i=0;i<3;i++){
			 a[i]=scan.nextInt();
		} i=0; i=0 i 0 i<3 i 3 i++ i++ i {
			 a[i]=scan.nextInt();
		} {
			 a[i]=scan.nextInt();
		} a[i]=scan.nextInt() a[i] a i scan.nextInt() scan.nextInt scan scan.close() scan.close scan for( i=0;i<a.length-1;i++){
			wk=i;
			for( j=i+1;j<a.length;j++){
				if(a[wk]>a[j])
					wk=j;
			}
			if(wk!=i){
				int temp=0;
				temp=a[wk];
				a[wk]=a[i];
				a[i]=temp;
			}
		} i=0; i=0 i 0 i<a.length-1 i a.length-1 a.length a a.length 1 i++ i++ i {
			wk=i;
			for( j=i+1;j<a.length;j++){
				if(a[wk]>a[j])
					wk=j;
			}
			if(wk!=i){
				int temp=0;
				temp=a[wk];
				a[wk]=a[i];
				a[i]=temp;
			}
		} {
			wk=i;
			for( j=i+1;j<a.length;j++){
				if(a[wk]>a[j])
					wk=j;
			}
			if(wk!=i){
				int temp=0;
				temp=a[wk];
				a[wk]=a[i];
				a[i]=temp;
			}
		} wk=i wk i for( j=i+1;j<a.length;j++){
				if(a[wk]>a[j])
					wk=j;
			} j=i+1; j=i+1 j i+1 i 1 j<a.length j a.length a a.length j++ j++ j {
				if(a[wk]>a[j])
					wk=j;
			} {
				if(a[wk]>a[j])
					wk=j;
			} if(a[wk]>a[j])
					wk=j; a[wk]>a[j] a[wk] a wk a[j] a j wk=j wk j if(wk!=i){
				int temp=0;
				temp=a[wk];
				a[wk]=a[i];
				a[i]=temp;
			} wk!=i wk i {
				int temp=0;
				temp=a[wk];
				a[wk]=a[i];
				a[i]=temp;
			} int temp=0; temp 0 temp=a[wk] temp a[wk] a wk a[wk]=a[i] a[wk] a wk a[i] a i a[i]=temp a[i] a i temp for(i=0;i<a.length-1;i++){ 
			System.out.print(a[i]+" ");
		} i=0; i=0 i 0 i<a.length-1 i a.length-1 a.length a a.length 1 i++ i++ i { 
			System.out.print(a[i]+" ");
		} { 
			System.out.print(a[i]+" ");
		} System.out.print(a[i]+" ") System.out.print System.out System System.out a[i]+" " a[i] a i " " System.out.print(a[i]+"\n") System.out.print System.out System System.out a[i]+"\n" a[i] a i "\n" String[] args args public class Main {
	
	public static void main(String[] args) {
		int i,j,wk;

		Scanner scan=new Scanner(System.in);
		int a[]=new int [3];
		
		for( i=0;i<3;i++){
			 a[i]=scan.nextInt();
		}
		
		scan.close();
		
		for( i=0;i<a.length-1;i++){
			wk=i;
			for( j=i+1;j<a.length;j++){
				if(a[wk]>a[j])
					wk=j;
			}
			if(wk!=i){
				int temp=0;
				temp=a[wk];
				a[wk]=a[i];
				a[i]=temp;
			}
		}
		
		for(i=0;i<a.length-1;i++){ 
			System.out.print(a[i]+" ");
		}
	 System.out.print(a[i]+"\n");
	}

} public class Main {
	
	public static void main(String[] args) {
		int i,j,wk;

		Scanner scan=new Scanner(System.in);
		int a[]=new int [3];
		
		for( i=0;i<3;i++){
			 a[i]=scan.nextInt();
		}
		
		scan.close();
		
		for( i=0;i<a.length-1;i++){
			wk=i;
			for( j=i+1;j<a.length;j++){
				if(a[wk]>a[j])
					wk=j;
			}
			if(wk!=i){
				int temp=0;
				temp=a[wk];
				a[wk]=a[i];
				a[i]=temp;
			}
		}
		
		for(i=0;i<a.length-1;i++){ 
			System.out.print(a[i]+" ");
		}
	 System.out.print(a[i]+"\n");
	}

} Main
import java.util.Scanner;
public class Main {
	
	public static void main(String[] args) {
		int i,j,wk;

		Scanner scan=new Scanner(System.in);
		int a[]=new int [3];
		
		for( i=0;i<3;i++){
			 a[i]=scan.nextInt();
		}
		
		scan.close();
		
		for( i=0;i<a.length-1;i++){
			wk=i;
			for( j=i+1;j<a.length;j++){
				if(a[wk]>a[j])
					wk=j;
			}
			if(wk!=i){
				int temp=0;
				temp=a[wk];
				a[wk]=a[i];
				a[i]=temp;
			}
		}
		
		for(i=0;i<a.length-1;i++){ 
			System.out.print(a[i]+" ");
		}
	 System.out.print(a[i]+"\n");
	}

}