import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner scan = null;
	int[] num = new int[3];
	try {
	    scan = new Scanner(System.in);
	    for (int i = 0; i < num.length; i++) {
		num[i] = scan.nextInt();
	    }
	    Arrays.sort(num);
	    StringBuffer sortlist = new StringBuffer();
		for (int i = 0; i < num.length; i++) {
		    sortlist.append(num[i]);
		    if (i < num.length - 1) {
			sortlist.append(" ");
		    }
		}
	    System.out.println(sortlist);
	} catch (InputMismatchException e) {
	    System.out.println(e);
	} finally {
	    scan.close();
	}
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        Scanner scan = null;
	int[] num = new int[3];
	try {
	    scan = new Scanner(System.in);
	    for (int i = 0; i < num.length; i++) {
		num[i] = scan.nextInt();
	    }
	    Arrays.sort(num);
	    StringBuffer sortlist = new StringBuffer();
		for (int i = 0; i < num.length; i++) {
		    sortlist.append(num[i]);
		    if (i < num.length - 1) {
			sortlist.append(" ");
		    }
		}
	    System.out.println(sortlist);
	} catch (InputMismatchException e) {
	    System.out.println(e);
	} finally {
	    scan.close();
	}
    }
} Main public static void main(String[] args) {
        Scanner scan = null;
	int[] num = new int[3];
	try {
	    scan = new Scanner(System.in);
	    for (int i = 0; i < num.length; i++) {
		num[i] = scan.nextInt();
	    }
	    Arrays.sort(num);
	    StringBuffer sortlist = new StringBuffer();
		for (int i = 0; i < num.length; i++) {
		    sortlist.append(num[i]);
		    if (i < num.length - 1) {
			sortlist.append(" ");
		    }
		}
	    System.out.println(sortlist);
	} catch (InputMismatchException e) {
	    System.out.println(e);
	} finally {
	    scan.close();
	}
    } main {
        Scanner scan = null;
	int[] num = new int[3];
	try {
	    scan = new Scanner(System.in);
	    for (int i = 0; i < num.length; i++) {
		num[i] = scan.nextInt();
	    }
	    Arrays.sort(num);
	    StringBuffer sortlist = new StringBuffer();
		for (int i = 0; i < num.length; i++) {
		    sortlist.append(num[i]);
		    if (i < num.length - 1) {
			sortlist.append(" ");
		    }
		}
	    System.out.println(sortlist);
	} catch (InputMismatchException e) {
	    System.out.println(e);
	} finally {
	    scan.close();
	}
    } Scanner scan = null; scan null int[] num = new int[3]; num new int[3] 3 try {
	    scan = new Scanner(System.in);
	    for (int i = 0; i < num.length; i++) {
		num[i] = scan.nextInt();
	    }
	    Arrays.sort(num);
	    StringBuffer sortlist = new StringBuffer();
		for (int i = 0; i < num.length; i++) {
		    sortlist.append(num[i]);
		    if (i < num.length - 1) {
			sortlist.append(" ");
		    }
		}
	    System.out.println(sortlist);
	} catch (InputMismatchException e) {
	    System.out.println(e);
	} finally {
	    scan.close();
	} catch (InputMismatchException e) {
	    System.out.println(e);
	} InputMismatchException e {
	    System.out.println(e);
	} System.out.println(e) System.out.println System.out System System.out e {
	    scan.close();
	} scan.close() scan.close scan {
	    scan = new Scanner(System.in);
	    for (int i = 0; i < num.length; i++) {
		num[i] = scan.nextInt();
	    }
	    Arrays.sort(num);
	    StringBuffer sortlist = new StringBuffer();
		for (int i = 0; i < num.length; i++) {
		    sortlist.append(num[i]);
		    if (i < num.length - 1) {
			sortlist.append(" ");
		    }
		}
	    System.out.println(sortlist);
	} scan = new Scanner(System.in) scan new Scanner(System.in) for (int i = 0; i < num.length; i++) {
		num[i] = scan.nextInt();
	    } int i = 0; int i = 0; i 0 i < num.length i num.length num num.length i++ i++ i {
		num[i] = scan.nextInt();
	    } {
		num[i] = scan.nextInt();
	    } num[i] = scan.nextInt() num[i] num i scan.nextInt() scan.nextInt scan Arrays.sort(num) Arrays.sort Arrays num StringBuffer sortlist = new StringBuffer(); sortlist new StringBuffer() for (int i = 0; i < num.length; i++) {
		    sortlist.append(num[i]);
		    if (i < num.length - 1) {
			sortlist.append(" ");
		    }
		} int i = 0; int i = 0; i 0 i < num.length i num.length num num.length i++ i++ i {
		    sortlist.append(num[i]);
		    if (i < num.length - 1) {
			sortlist.append(" ");
		    }
		} {
		    sortlist.append(num[i]);
		    if (i < num.length - 1) {
			sortlist.append(" ");
		    }
		} sortlist.append(num[i]) sortlist.append sortlist num[i] num i if (i < num.length - 1) {
			sortlist.append(" ");
		    } i < num.length - 1 i num.length - 1 num.length num num.length 1 {
			sortlist.append(" ");
		    } sortlist.append(" ") sortlist.append sortlist " " System.out.println(sortlist) System.out.println System.out System System.out sortlist String[] args args public class Main {
    public static void main(String[] args) {
        Scanner scan = null;
	int[] num = new int[3];
	try {
	    scan = new Scanner(System.in);
	    for (int i = 0; i < num.length; i++) {
		num[i] = scan.nextInt();
	    }
	    Arrays.sort(num);
	    StringBuffer sortlist = new StringBuffer();
		for (int i = 0; i < num.length; i++) {
		    sortlist.append(num[i]);
		    if (i < num.length - 1) {
			sortlist.append(" ");
		    }
		}
	    System.out.println(sortlist);
	} catch (InputMismatchException e) {
	    System.out.println(e);
	} finally {
	    scan.close();
	}
    }
} public class Main {
    public static void main(String[] args) {
        Scanner scan = null;
	int[] num = new int[3];
	try {
	    scan = new Scanner(System.in);
	    for (int i = 0; i < num.length; i++) {
		num[i] = scan.nextInt();
	    }
	    Arrays.sort(num);
	    StringBuffer sortlist = new StringBuffer();
		for (int i = 0; i < num.length; i++) {
		    sortlist.append(num[i]);
		    if (i < num.length - 1) {
			sortlist.append(" ");
		    }
		}
	    System.out.println(sortlist);
	} catch (InputMismatchException e) {
	    System.out.println(e);
	} finally {
	    scan.close();
	}
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner scan = null;
	int[] num = new int[3];
	try {
	    scan = new Scanner(System.in);
	    for (int i = 0; i < num.length; i++) {
		num[i] = scan.nextInt();
	    }
	    Arrays.sort(num);
	    StringBuffer sortlist = new StringBuffer();
		for (int i = 0; i < num.length; i++) {
		    sortlist.append(num[i]);
		    if (i < num.length - 1) {
			sortlist.append(" ");
		    }
		}
	    System.out.println(sortlist);
	} catch (InputMismatchException e) {
	    System.out.println(e);
	} finally {
	    scan.close();
	}
    }
}