import java.util.*;

public class Main{
	public static void main(String[] args){
		String input = new Scanner(System.in).nextLine();
		String[] num = input.split("\\s");

		int[] numb = new int[num.length];

		for(int i = 0; i < numb.length; i++){
			numb[i] = Integer.parseInt(num[i]);
		}

		for(int i = 0; i <numb.length; i++){
			for(int j = numb.length - 1; j > i; j--){
				if(numb[j] < numb[j-1]){
					int s = numb[j];
					numb[j] = numb[j-1];
					numb[j-1] = s;
				}
			}
		}
		System.out.println(numb[0] + " " + numb[1] + " " + numb[2]);
	}
} import java.util.*; util.* java public class Main{
	public static void main(String[] args){
		String input = new Scanner(System.in).nextLine();
		String[] num = input.split("\\s");

		int[] numb = new int[num.length];

		for(int i = 0; i < numb.length; i++){
			numb[i] = Integer.parseInt(num[i]);
		}

		for(int i = 0; i <numb.length; i++){
			for(int j = numb.length - 1; j > i; j--){
				if(numb[j] < numb[j-1]){
					int s = numb[j];
					numb[j] = numb[j-1];
					numb[j-1] = s;
				}
			}
		}
		System.out.println(numb[0] + " " + numb[1] + " " + numb[2]);
	}
} Main public static void main(String[] args){
		String input = new Scanner(System.in).nextLine();
		String[] num = input.split("\\s");

		int[] numb = new int[num.length];

		for(int i = 0; i < numb.length; i++){
			numb[i] = Integer.parseInt(num[i]);
		}

		for(int i = 0; i <numb.length; i++){
			for(int j = numb.length - 1; j > i; j--){
				if(numb[j] < numb[j-1]){
					int s = numb[j];
					numb[j] = numb[j-1];
					numb[j-1] = s;
				}
			}
		}
		System.out.println(numb[0] + " " + numb[1] + " " + numb[2]);
	} main {
		String input = new Scanner(System.in).nextLine();
		String[] num = input.split("\\s");

		int[] numb = new int[num.length];

		for(int i = 0; i < numb.length; i++){
			numb[i] = Integer.parseInt(num[i]);
		}

		for(int i = 0; i <numb.length; i++){
			for(int j = numb.length - 1; j > i; j--){
				if(numb[j] < numb[j-1]){
					int s = numb[j];
					numb[j] = numb[j-1];
					numb[j-1] = s;
				}
			}
		}
		System.out.println(numb[0] + " " + numb[1] + " " + numb[2]);
	} String input = new Scanner(System.in).nextLine(); input new Scanner(System.in).nextLine() new Scanner(System.in).nextLine new Scanner(System.in) String[] num = input.split("\\s"); num input.split("\\s") input.split input "\\s" int[] numb = new int[num.length]; numb new int[num.length] num.length num num.length for(int i = 0; i < numb.length; i++){
			numb[i] = Integer.parseInt(num[i]);
		} int i = 0; int i = 0; i 0 i < numb.length i numb.length numb numb.length i++ i++ i {
			numb[i] = Integer.parseInt(num[i]);
		} {
			numb[i] = Integer.parseInt(num[i]);
		} numb[i] = Integer.parseInt(num[i]) numb[i] numb i Integer.parseInt(num[i]) Integer.parseInt Integer num[i] num i for(int i = 0; i <numb.length; i++){
			for(int j = numb.length - 1; j > i; j--){
				if(numb[j] < numb[j-1]){
					int s = numb[j];
					numb[j] = numb[j-1];
					numb[j-1] = s;
				}
			}
		} int i = 0; int i = 0; i 0 i <numb.length i numb.length numb numb.length i++ i++ i {
			for(int j = numb.length - 1; j > i; j--){
				if(numb[j] < numb[j-1]){
					int s = numb[j];
					numb[j] = numb[j-1];
					numb[j-1] = s;
				}
			}
		} {
			for(int j = numb.length - 1; j > i; j--){
				if(numb[j] < numb[j-1]){
					int s = numb[j];
					numb[j] = numb[j-1];
					numb[j-1] = s;
				}
			}
		} for(int j = numb.length - 1; j > i; j--){
				if(numb[j] < numb[j-1]){
					int s = numb[j];
					numb[j] = numb[j-1];
					numb[j-1] = s;
				}
			} int j = numb.length - 1; int j = numb.length - 1; j numb.length - 1 numb.length numb numb.length 1 j > i j i j-- j-- j {
				if(numb[j] < numb[j-1]){
					int s = numb[j];
					numb[j] = numb[j-1];
					numb[j-1] = s;
				}
			} {
				if(numb[j] < numb[j-1]){
					int s = numb[j];
					numb[j] = numb[j-1];
					numb[j-1] = s;
				}
			} if(numb[j] < numb[j-1]){
					int s = numb[j];
					numb[j] = numb[j-1];
					numb[j-1] = s;
				} numb[j] < numb[j-1] numb[j] numb j numb[j-1] numb j-1 j 1 {
					int s = numb[j];
					numb[j] = numb[j-1];
					numb[j-1] = s;
				} int s = numb[j]; s numb[j] numb j numb[j] = numb[j-1] numb[j] numb j numb[j-1] numb j-1 j 1 numb[j-1] = s numb[j-1] numb j-1 j 1 s System.out.println(numb[0] + " " + numb[1] + " " + numb[2]) System.out.println System.out System System.out numb[0] + " " + numb[1] + " " + numb[2] " " numb[1] numb[0] + " " + numb[1] + " " + numb[2] numb[0] numb 0 " " numb[1] numb 1 " " numb[2] numb 2 String[] args args public class Main{
	public static void main(String[] args){
		String input = new Scanner(System.in).nextLine();
		String[] num = input.split("\\s");

		int[] numb = new int[num.length];

		for(int i = 0; i < numb.length; i++){
			numb[i] = Integer.parseInt(num[i]);
		}

		for(int i = 0; i <numb.length; i++){
			for(int j = numb.length - 1; j > i; j--){
				if(numb[j] < numb[j-1]){
					int s = numb[j];
					numb[j] = numb[j-1];
					numb[j-1] = s;
				}
			}
		}
		System.out.println(numb[0] + " " + numb[1] + " " + numb[2]);
	}
} public class Main{
	public static void main(String[] args){
		String input = new Scanner(System.in).nextLine();
		String[] num = input.split("\\s");

		int[] numb = new int[num.length];

		for(int i = 0; i < numb.length; i++){
			numb[i] = Integer.parseInt(num[i]);
		}

		for(int i = 0; i <numb.length; i++){
			for(int j = numb.length - 1; j > i; j--){
				if(numb[j] < numb[j-1]){
					int s = numb[j];
					numb[j] = numb[j-1];
					numb[j-1] = s;
				}
			}
		}
		System.out.println(numb[0] + " " + numb[1] + " " + numb[2]);
	}
} Main
import java.util.*;

public class Main{
	public static void main(String[] args){
		String input = new Scanner(System.in).nextLine();
		String[] num = input.split("\\s");

		int[] numb = new int[num.length];

		for(int i = 0; i < numb.length; i++){
			numb[i] = Integer.parseInt(num[i]);
		}

		for(int i = 0; i <numb.length; i++){
			for(int j = numb.length - 1; j > i; j--){
				if(numb[j] < numb[j-1]){
					int s = numb[j];
					numb[j] = numb[j-1];
					numb[j-1] = s;
				}
			}
		}
		System.out.println(numb[0] + " " + numb[1] + " " + numb[2]);
	}
}