import java.util.Scanner;

class Main{
    public static void main(String[] args){
	Scanner stdIn = new Scanner(System.in);

	int x = stdIn.nextInt();

	int y = stdIn.nextInt();
	
	int z = stdIn.nextInt();
	int temp;

	if(x > y ){
	    temp = x;
	    x = y;
	    y = temp;
	}
        if(x > z ){
	    temp = x;
	    x = z;
	    z = temp;
	}
	if(y > z ){
	    temp = z;
	    z = y;
	    y = temp;
	}
	System.out.printf("%d %d %d\n",x,y,z);
    }
} import java.util.Scanner; Scanner java.util class Main{
    public static void main(String[] args){
	Scanner stdIn = new Scanner(System.in);

	int x = stdIn.nextInt();

	int y = stdIn.nextInt();
	
	int z = stdIn.nextInt();
	int temp;

	if(x > y ){
	    temp = x;
	    x = y;
	    y = temp;
	}
        if(x > z ){
	    temp = x;
	    x = z;
	    z = temp;
	}
	if(y > z ){
	    temp = z;
	    z = y;
	    y = temp;
	}
	System.out.printf("%d %d %d\n",x,y,z);
    }
} Main public static void main(String[] args){
	Scanner stdIn = new Scanner(System.in);

	int x = stdIn.nextInt();

	int y = stdIn.nextInt();
	
	int z = stdIn.nextInt();
	int temp;

	if(x > y ){
	    temp = x;
	    x = y;
	    y = temp;
	}
        if(x > z ){
	    temp = x;
	    x = z;
	    z = temp;
	}
	if(y > z ){
	    temp = z;
	    z = y;
	    y = temp;
	}
	System.out.printf("%d %d %d\n",x,y,z);
    } main {
	Scanner stdIn = new Scanner(System.in);

	int x = stdIn.nextInt();

	int y = stdIn.nextInt();
	
	int z = stdIn.nextInt();
	int temp;

	if(x > y ){
	    temp = x;
	    x = y;
	    y = temp;
	}
        if(x > z ){
	    temp = x;
	    x = z;
	    z = temp;
	}
	if(y > z ){
	    temp = z;
	    z = y;
	    y = temp;
	}
	System.out.printf("%d %d %d\n",x,y,z);
    } Scanner stdIn = new Scanner(System.in); stdIn new Scanner(System.in) int x = stdIn.nextInt(); x stdIn.nextInt() stdIn.nextInt stdIn int y = stdIn.nextInt(); y stdIn.nextInt() stdIn.nextInt stdIn int z = stdIn.nextInt(); z stdIn.nextInt() stdIn.nextInt stdIn int temp; temp if(x > y ){
	    temp = x;
	    x = y;
	    y = temp;
	} x > y x y {
	    temp = x;
	    x = y;
	    y = temp;
	} temp = x temp x x = y x y y = temp y temp if(x > z ){
	    temp = x;
	    x = z;
	    z = temp;
	} x > z x z {
	    temp = x;
	    x = z;
	    z = temp;
	} temp = x temp x x = z x z z = temp z temp if(y > z ){
	    temp = z;
	    z = y;
	    y = temp;
	} y > z y z {
	    temp = z;
	    z = y;
	    y = temp;
	} temp = z temp z z = y z y y = temp y temp System.out.printf("%d %d %d\n",x,y,z) System.out.printf System.out System System.out "%d %d %d\n" x y z String[] args args
import java.util.Scanner;

class Main{
    public static void main(String[] args){
	Scanner stdIn = new Scanner(System.in);

	int x = stdIn.nextInt();

	int y = stdIn.nextInt();
	
	int z = stdIn.nextInt();
	int temp;

	if(x > y ){
	    temp = x;
	    x = y;
	    y = temp;
	}
        if(x > z ){
	    temp = x;
	    x = z;
	    z = temp;
	}
	if(y > z ){
	    temp = z;
	    z = y;
	    y = temp;
	}
	System.out.printf("%d %d %d\n",x,y,z);
    }
}