import java.util.Scanner;
public class Main {
	void sort(){
		int a[] = new int[3];
		int tmp;
		Scanner s = new Scanner(System.in);
		for(int i = 0;i < 3;i++){
			a[i] = s.nextInt();
			for(int j = 0;j < i;j++){
				if(a[j] > a[i]){
					tmp = a[j];
					a[j] = a[i];
					a[i] = tmp;
				}
			}
		}
		System.out.println(a[0] + " " + a[1] + " " + a[2]);
	}
	public static void main(String args[]){
		Main m = new Main();
		m.sort();
	}
} import java.util.Scanner; Scanner java.util public class Main {
	void sort(){
		int a[] = new int[3];
		int tmp;
		Scanner s = new Scanner(System.in);
		for(int i = 0;i < 3;i++){
			a[i] = s.nextInt();
			for(int j = 0;j < i;j++){
				if(a[j] > a[i]){
					tmp = a[j];
					a[j] = a[i];
					a[i] = tmp;
				}
			}
		}
		System.out.println(a[0] + " " + a[1] + " " + a[2]);
	}
	public static void main(String args[]){
		Main m = new Main();
		m.sort();
	}
} Main void sort(){
		int a[] = new int[3];
		int tmp;
		Scanner s = new Scanner(System.in);
		for(int i = 0;i < 3;i++){
			a[i] = s.nextInt();
			for(int j = 0;j < i;j++){
				if(a[j] > a[i]){
					tmp = a[j];
					a[j] = a[i];
					a[i] = tmp;
				}
			}
		}
		System.out.println(a[0] + " " + a[1] + " " + a[2]);
	} sort {
		int a[] = new int[3];
		int tmp;
		Scanner s = new Scanner(System.in);
		for(int i = 0;i < 3;i++){
			a[i] = s.nextInt();
			for(int j = 0;j < i;j++){
				if(a[j] > a[i]){
					tmp = a[j];
					a[j] = a[i];
					a[i] = tmp;
				}
			}
		}
		System.out.println(a[0] + " " + a[1] + " " + a[2]);
	} int a[] = new int[3]; a new int[3] 3 int tmp; tmp Scanner s = new Scanner(System.in); s new Scanner(System.in) for(int i = 0;i < 3;i++){
			a[i] = s.nextInt();
			for(int j = 0;j < i;j++){
				if(a[j] > a[i]){
					tmp = a[j];
					a[j] = a[i];
					a[i] = tmp;
				}
			}
		} int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
			a[i] = s.nextInt();
			for(int j = 0;j < i;j++){
				if(a[j] > a[i]){
					tmp = a[j];
					a[j] = a[i];
					a[i] = tmp;
				}
			}
		} {
			a[i] = s.nextInt();
			for(int j = 0;j < i;j++){
				if(a[j] > a[i]){
					tmp = a[j];
					a[j] = a[i];
					a[i] = tmp;
				}
			}
		} a[i] = s.nextInt() a[i] a i s.nextInt() s.nextInt s for(int j = 0;j < i;j++){
				if(a[j] > a[i]){
					tmp = a[j];
					a[j] = a[i];
					a[i] = tmp;
				}
			} int j = 0; int j = 0; j 0 j < i j i j++ j++ j {
				if(a[j] > a[i]){
					tmp = a[j];
					a[j] = a[i];
					a[i] = tmp;
				}
			} {
				if(a[j] > a[i]){
					tmp = a[j];
					a[j] = a[i];
					a[i] = tmp;
				}
			} if(a[j] > a[i]){
					tmp = a[j];
					a[j] = a[i];
					a[i] = tmp;
				} a[j] > a[i] a[j] a j a[i] a i {
					tmp = a[j];
					a[j] = a[i];
					a[i] = tmp;
				} tmp = a[j] tmp a[j] a j a[j] = a[i] a[j] a j a[i] a i a[i] = tmp a[i] a i tmp 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 public static void main(String args[]){
		Main m = new Main();
		m.sort();
	} main {
		Main m = new Main();
		m.sort();
	} Main m = new Main(); m new Main() m.sort() m.sort m String args[] args public class Main {
	void sort(){
		int a[] = new int[3];
		int tmp;
		Scanner s = new Scanner(System.in);
		for(int i = 0;i < 3;i++){
			a[i] = s.nextInt();
			for(int j = 0;j < i;j++){
				if(a[j] > a[i]){
					tmp = a[j];
					a[j] = a[i];
					a[i] = tmp;
				}
			}
		}
		System.out.println(a[0] + " " + a[1] + " " + a[2]);
	}
	public static void main(String args[]){
		Main m = new Main();
		m.sort();
	}
} public class Main {
	void sort(){
		int a[] = new int[3];
		int tmp;
		Scanner s = new Scanner(System.in);
		for(int i = 0;i < 3;i++){
			a[i] = s.nextInt();
			for(int j = 0;j < i;j++){
				if(a[j] > a[i]){
					tmp = a[j];
					a[j] = a[i];
					a[i] = tmp;
				}
			}
		}
		System.out.println(a[0] + " " + a[1] + " " + a[2]);
	}
	public static void main(String args[]){
		Main m = new Main();
		m.sort();
	}
} Main
import java.util.Scanner;
public class Main {
	void sort(){
		int a[] = new int[3];
		int tmp;
		Scanner s = new Scanner(System.in);
		for(int i = 0;i < 3;i++){
			a[i] = s.nextInt();
			for(int j = 0;j < i;j++){
				if(a[j] > a[i]){
					tmp = a[j];
					a[j] = a[i];
					a[i] = tmp;
				}
			}
		}
		System.out.println(a[0] + " " + a[1] + " " + a[2]);
	}
	public static void main(String args[]){
		Main m = new Main();
		m.sort();
	}
}