import java.util.Scanner;

public class Main {
	private void calc(){
		Scanner scanner = new Scanner(System.in);
		int x =scanner.nextInt();
		int y =scanner.nextInt();
		int z =scanner.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=y;
			y=z;
			z=temp;
		}
		System.out.println(x + " " + y + " " + z);
	}
	
	public static void main(String[] args) {
		Main run =new Main();
		run.calc();

	}
} import java.util.Scanner; Scanner java.util public class Main {
	private void calc(){
		Scanner scanner = new Scanner(System.in);
		int x =scanner.nextInt();
		int y =scanner.nextInt();
		int z =scanner.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=y;
			y=z;
			z=temp;
		}
		System.out.println(x + " " + y + " " + z);
	}
	
	public static void main(String[] args) {
		Main run =new Main();
		run.calc();

	}
} Main private void calc(){
		Scanner scanner = new Scanner(System.in);
		int x =scanner.nextInt();
		int y =scanner.nextInt();
		int z =scanner.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=y;
			y=z;
			z=temp;
		}
		System.out.println(x + " " + y + " " + z);
	} calc {
		Scanner scanner = new Scanner(System.in);
		int x =scanner.nextInt();
		int y =scanner.nextInt();
		int z =scanner.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=y;
			y=z;
			z=temp;
		}
		System.out.println(x + " " + y + " " + z);
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int x =scanner.nextInt(); x scanner.nextInt() scanner.nextInt scanner int y =scanner.nextInt(); y scanner.nextInt() scanner.nextInt scanner int z =scanner.nextInt(); z scanner.nextInt() scanner.nextInt scanner 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=y;
			y=z;
			z=temp;
		} y>z y z {
			temp=y;
			y=z;
			z=temp;
		} temp=y temp y y=z y z z=temp z temp System.out.println(x + " " + y + " " + z) System.out.println System.out System System.out x + " " + y + " " + z " " y x + " " + y + " " + z x " " y " " z public static void main(String[] args) {
		Main run =new Main();
		run.calc();

	} main {
		Main run =new Main();
		run.calc();

	} Main run =new Main(); run new Main() run.calc() run.calc run String[] args args public class Main {
	private void calc(){
		Scanner scanner = new Scanner(System.in);
		int x =scanner.nextInt();
		int y =scanner.nextInt();
		int z =scanner.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=y;
			y=z;
			z=temp;
		}
		System.out.println(x + " " + y + " " + z);
	}
	
	public static void main(String[] args) {
		Main run =new Main();
		run.calc();

	}
} public class Main {
	private void calc(){
		Scanner scanner = new Scanner(System.in);
		int x =scanner.nextInt();
		int y =scanner.nextInt();
		int z =scanner.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=y;
			y=z;
			z=temp;
		}
		System.out.println(x + " " + y + " " + z);
	}
	
	public static void main(String[] args) {
		Main run =new Main();
		run.calc();

	}
} Main
import java.util.Scanner;

public class Main {
	private void calc(){
		Scanner scanner = new Scanner(System.in);
		int x =scanner.nextInt();
		int y =scanner.nextInt();
		int z =scanner.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=y;
			y=z;
			z=temp;
		}
		System.out.println(x + " " + y + " " + z);
	}
	
	public static void main(String[] args) {
		Main run =new Main();
		run.calc();

	}
}