import java.util.Scanner;
public class Main{

    int a,b,c;
    int[] data;
    int size = 3;

    public void input(){
	Scanner scan = new Scanner(System.in);
        data = new int[3];
	for ( int i = 0; i < 3; i++ ){
	    data[i] = scan.nextInt();
	}
    }
 
    public void selsort(){
	for (int front = 0;front < size - 1;front++){

	    int minIndex = front;
            for (int j = front + 1;j < size;j++){
		if (data[j] < data[minIndex]){
                    minIndex = j;
		}
	    }
  
	    int tmp = data[front];
            data[front] = data[minIndex];
            data[minIndex] = tmp;
	}
    }

    public void output(){
	System.out.println(data[0]+" "+data[1]+" "+data[2]);

      
    }
 public static void main(String[] args){
     Main p = new Main();
     p.input();
     p.selsort();
     p.output();
 }
}
   import java.util.Scanner; Scanner java.util public class Main{

    int a,b,c;
    int[] data;
    int size = 3;

    public void input(){
	Scanner scan = new Scanner(System.in);
        data = new int[3];
	for ( int i = 0; i < 3; i++ ){
	    data[i] = scan.nextInt();
	}
    }
 
    public void selsort(){
	for (int front = 0;front < size - 1;front++){

	    int minIndex = front;
            for (int j = front + 1;j < size;j++){
		if (data[j] < data[minIndex]){
                    minIndex = j;
		}
	    }
  
	    int tmp = data[front];
            data[front] = data[minIndex];
            data[minIndex] = tmp;
	}
    }

    public void output(){
	System.out.println(data[0]+" "+data[1]+" "+data[2]);

      
    }
 public static void main(String[] args){
     Main p = new Main();
     p.input();
     p.selsort();
     p.output();
 }
} Main int a a b b c; c int[] data; data int size = 3; size 3 public void input(){
	Scanner scan = new Scanner(System.in);
        data = new int[3];
	for ( int i = 0; i < 3; i++ ){
	    data[i] = scan.nextInt();
	}
    } input {
	Scanner scan = new Scanner(System.in);
        data = new int[3];
	for ( int i = 0; i < 3; i++ ){
	    data[i] = scan.nextInt();
	}
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) data = new int[3] data new int[3] 3 for ( int i = 0; i < 3; i++ ){
	    data[i] = scan.nextInt();
	} int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
	    data[i] = scan.nextInt();
	} {
	    data[i] = scan.nextInt();
	} data[i] = scan.nextInt() data[i] data i scan.nextInt() scan.nextInt scan public void selsort(){
	for (int front = 0;front < size - 1;front++){

	    int minIndex = front;
            for (int j = front + 1;j < size;j++){
		if (data[j] < data[minIndex]){
                    minIndex = j;
		}
	    }
  
	    int tmp = data[front];
            data[front] = data[minIndex];
            data[minIndex] = tmp;
	}
    } selsort {
	for (int front = 0;front < size - 1;front++){

	    int minIndex = front;
            for (int j = front + 1;j < size;j++){
		if (data[j] < data[minIndex]){
                    minIndex = j;
		}
	    }
  
	    int tmp = data[front];
            data[front] = data[minIndex];
            data[minIndex] = tmp;
	}
    } for (int front = 0;front < size - 1;front++){

	    int minIndex = front;
            for (int j = front + 1;j < size;j++){
		if (data[j] < data[minIndex]){
                    minIndex = j;
		}
	    }
  
	    int tmp = data[front];
            data[front] = data[minIndex];
            data[minIndex] = tmp;
	} int front = 0; int front = 0; front 0 front < size - 1 front size - 1 size 1 front++ front++ front {

	    int minIndex = front;
            for (int j = front + 1;j < size;j++){
		if (data[j] < data[minIndex]){
                    minIndex = j;
		}
	    }
  
	    int tmp = data[front];
            data[front] = data[minIndex];
            data[minIndex] = tmp;
	} {

	    int minIndex = front;
            for (int j = front + 1;j < size;j++){
		if (data[j] < data[minIndex]){
                    minIndex = j;
		}
	    }
  
	    int tmp = data[front];
            data[front] = data[minIndex];
            data[minIndex] = tmp;
	} int minIndex = front; minIndex front for (int j = front + 1;j < size;j++){
		if (data[j] < data[minIndex]){
                    minIndex = j;
		}
	    } int j = front + 1; int j = front + 1; j front + 1 front 1 j < size j size j++ j++ j {
		if (data[j] < data[minIndex]){
                    minIndex = j;
		}
	    } {
		if (data[j] < data[minIndex]){
                    minIndex = j;
		}
	    } if (data[j] < data[minIndex]){
                    minIndex = j;
		} data[j] < data[minIndex] data[j] data j data[minIndex] data minIndex {
                    minIndex = j;
		} minIndex = j minIndex j int tmp = data[front]; tmp data[front] data front data[front] = data[minIndex] data[front] data front data[minIndex] data minIndex data[minIndex] = tmp data[minIndex] data minIndex tmp public void output(){
	System.out.println(data[0]+" "+data[1]+" "+data[2]);

      
    } output {
	System.out.println(data[0]+" "+data[1]+" "+data[2]);

      
    } System.out.println(data[0]+" "+data[1]+" "+data[2]) System.out.println System.out System System.out data[0]+" "+data[1]+" "+data[2] " " data[1] data[0]+" "+data[1]+" "+data[2] data[0] data 0 " " data[1] data 1 " " data[2] data 2 public static void main(String[] args){
     Main p = new Main();
     p.input();
     p.selsort();
     p.output();
 } main {
     Main p = new Main();
     p.input();
     p.selsort();
     p.output();
 } Main p = new Main(); p new Main() p.input() p.input p p.selsort() p.selsort p p.output() p.output p String[] args args public class Main{

    int a,b,c;
    int[] data;
    int size = 3;

    public void input(){
	Scanner scan = new Scanner(System.in);
        data = new int[3];
	for ( int i = 0; i < 3; i++ ){
	    data[i] = scan.nextInt();
	}
    }
 
    public void selsort(){
	for (int front = 0;front < size - 1;front++){

	    int minIndex = front;
            for (int j = front + 1;j < size;j++){
		if (data[j] < data[minIndex]){
                    minIndex = j;
		}
	    }
  
	    int tmp = data[front];
            data[front] = data[minIndex];
            data[minIndex] = tmp;
	}
    }

    public void output(){
	System.out.println(data[0]+" "+data[1]+" "+data[2]);

      
    }
 public static void main(String[] args){
     Main p = new Main();
     p.input();
     p.selsort();
     p.output();
 }
} public class Main{

    int a,b,c;
    int[] data;
    int size = 3;

    public void input(){
	Scanner scan = new Scanner(System.in);
        data = new int[3];
	for ( int i = 0; i < 3; i++ ){
	    data[i] = scan.nextInt();
	}
    }
 
    public void selsort(){
	for (int front = 0;front < size - 1;front++){

	    int minIndex = front;
            for (int j = front + 1;j < size;j++){
		if (data[j] < data[minIndex]){
                    minIndex = j;
		}
	    }
  
	    int tmp = data[front];
            data[front] = data[minIndex];
            data[minIndex] = tmp;
	}
    }

    public void output(){
	System.out.println(data[0]+" "+data[1]+" "+data[2]);

      
    }
 public static void main(String[] args){
     Main p = new Main();
     p.input();
     p.selsort();
     p.output();
 }
} Main
import java.util.Scanner;
public class Main{

    int a,b,c;
    int[] data;
    int size = 3;

    public void input(){
	Scanner scan = new Scanner(System.in);
        data = new int[3];
	for ( int i = 0; i < 3; i++ ){
	    data[i] = scan.nextInt();
	}
    }
 
    public void selsort(){
	for (int front = 0;front < size - 1;front++){

	    int minIndex = front;
            for (int j = front + 1;j < size;j++){
		if (data[j] < data[minIndex]){
                    minIndex = j;
		}
	    }
  
	    int tmp = data[front];
            data[front] = data[minIndex];
            data[minIndex] = tmp;
	}
    }

    public void output(){
	System.out.println(data[0]+" "+data[1]+" "+data[2]);

      
    }
 public static void main(String[] args){
     Main p = new Main();
     p.input();
     p.selsort();
     p.output();
 }
}
  