import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		
		int tblData[] = new int[3];
		int k = 2;
		int tmp;
		
		//?????????????´?
		for(int i = 0; i < 3; i++) {
			tblData[i] = sc.nextInt();
		}
		
		//??´???(??????)
		while(k > 0) {
			int i = 0;
			while(i < k) {
				if(tblData[i] > tblData[i+1]) {
					tmp = tblData[i];
					tblData[i] = tblData[i+1];
					tblData[i+1] = tmp;
				}
				i++;
			}
			k--;
		}
		
		System.out.println(tblData[0] + " " + tblData[1] + " " + tblData[2]);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		
		int tblData[] = new int[3];
		int k = 2;
		int tmp;
		
		//?????????????´?
		for(int i = 0; i < 3; i++) {
			tblData[i] = sc.nextInt();
		}
		
		//??´???(??????)
		while(k > 0) {
			int i = 0;
			while(i < k) {
				if(tblData[i] > tblData[i+1]) {
					tmp = tblData[i];
					tblData[i] = tblData[i+1];
					tblData[i+1] = tmp;
				}
				i++;
			}
			k--;
		}
		
		System.out.println(tblData[0] + " " + tblData[1] + " " + tblData[2]);
	}
} Main public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		
		int tblData[] = new int[3];
		int k = 2;
		int tmp;
		
		//?????????????´?
		for(int i = 0; i < 3; i++) {
			tblData[i] = sc.nextInt();
		}
		
		//??´???(??????)
		while(k > 0) {
			int i = 0;
			while(i < k) {
				if(tblData[i] > tblData[i+1]) {
					tmp = tblData[i];
					tblData[i] = tblData[i+1];
					tblData[i+1] = tmp;
				}
				i++;
			}
			k--;
		}
		
		System.out.println(tblData[0] + " " + tblData[1] + " " + tblData[2]);
	} main {
		
		Scanner sc = new Scanner(System.in);
		
		int tblData[] = new int[3];
		int k = 2;
		int tmp;
		
		//?????????????´?
		for(int i = 0; i < 3; i++) {
			tblData[i] = sc.nextInt();
		}
		
		//??´???(??????)
		while(k > 0) {
			int i = 0;
			while(i < k) {
				if(tblData[i] > tblData[i+1]) {
					tmp = tblData[i];
					tblData[i] = tblData[i+1];
					tblData[i+1] = tmp;
				}
				i++;
			}
			k--;
		}
		
		System.out.println(tblData[0] + " " + tblData[1] + " " + tblData[2]);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int tblData[] = new int[3]; tblData new int[3] 3 int k = 2; k 2 int tmp; tmp for(int i = 0; i < 3; i++) {
			tblData[i] = sc.nextInt();
		} int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
			tblData[i] = sc.nextInt();
		} {
			tblData[i] = sc.nextInt();
		} tblData[i] = sc.nextInt() tblData[i] tblData i sc.nextInt() sc.nextInt sc while(k > 0) {
			int i = 0;
			while(i < k) {
				if(tblData[i] > tblData[i+1]) {
					tmp = tblData[i];
					tblData[i] = tblData[i+1];
					tblData[i+1] = tmp;
				}
				i++;
			}
			k--;
		} k > 0 k 0 {
			int i = 0;
			while(i < k) {
				if(tblData[i] > tblData[i+1]) {
					tmp = tblData[i];
					tblData[i] = tblData[i+1];
					tblData[i+1] = tmp;
				}
				i++;
			}
			k--;
		} int i = 0; i 0 while(i < k) {
				if(tblData[i] > tblData[i+1]) {
					tmp = tblData[i];
					tblData[i] = tblData[i+1];
					tblData[i+1] = tmp;
				}
				i++;
			} i < k i k {
				if(tblData[i] > tblData[i+1]) {
					tmp = tblData[i];
					tblData[i] = tblData[i+1];
					tblData[i+1] = tmp;
				}
				i++;
			} if(tblData[i] > tblData[i+1]) {
					tmp = tblData[i];
					tblData[i] = tblData[i+1];
					tblData[i+1] = tmp;
				} tblData[i] > tblData[i+1] tblData[i] tblData i tblData[i+1] tblData i+1 i 1 {
					tmp = tblData[i];
					tblData[i] = tblData[i+1];
					tblData[i+1] = tmp;
				} tmp = tblData[i] tmp tblData[i] tblData i tblData[i] = tblData[i+1] tblData[i] tblData i tblData[i+1] tblData i+1 i 1 tblData[i+1] = tmp tblData[i+1] tblData i+1 i 1 tmp i++ i k-- k System.out.println(tblData[0] + " " + tblData[1] + " " + tblData[2]) System.out.println System.out System System.out tblData[0] + " " + tblData[1] + " " + tblData[2] " " tblData[1] tblData[0] + " " + tblData[1] + " " + tblData[2] tblData[0] tblData 0 " " tblData[1] tblData 1 " " tblData[2] tblData 2 String[] args args public class Main {
	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		
		int tblData[] = new int[3];
		int k = 2;
		int tmp;
		
		//?????????????´?
		for(int i = 0; i < 3; i++) {
			tblData[i] = sc.nextInt();
		}
		
		//??´???(??????)
		while(k > 0) {
			int i = 0;
			while(i < k) {
				if(tblData[i] > tblData[i+1]) {
					tmp = tblData[i];
					tblData[i] = tblData[i+1];
					tblData[i+1] = tmp;
				}
				i++;
			}
			k--;
		}
		
		System.out.println(tblData[0] + " " + tblData[1] + " " + tblData[2]);
	}
} public class Main {
	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		
		int tblData[] = new int[3];
		int k = 2;
		int tmp;
		
		//?????????????´?
		for(int i = 0; i < 3; i++) {
			tblData[i] = sc.nextInt();
		}
		
		//??´???(??????)
		while(k > 0) {
			int i = 0;
			while(i < k) {
				if(tblData[i] > tblData[i+1]) {
					tmp = tblData[i];
					tblData[i] = tblData[i+1];
					tblData[i+1] = tmp;
				}
				i++;
			}
			k--;
		}
		
		System.out.println(tblData[0] + " " + tblData[1] + " " + tblData[2]);
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		
		int tblData[] = new int[3];
		int k = 2;
		int tmp;
		
		//?????????????´?
		for(int i = 0; i < 3; i++) {
			tblData[i] = sc.nextInt();
		}
		
		//??´???(??????)
		while(k > 0) {
			int i = 0;
			while(i < k) {
				if(tblData[i] > tblData[i+1]) {
					tmp = tblData[i];
					tblData[i] = tblData[i+1];
					tblData[i+1] = tmp;
				}
				i++;
			}
			k--;
		}
		
		System.out.println(tblData[0] + " " + tblData[1] + " " + tblData[2]);
	}
}