import java.util.Scanner;
public class Main{
    public static void main(String[] args) {
	Scanner scan = new Scanner(System.in);
	int[] numbers = new int[3];
	for (int i = 0; i < numbers.length; i++) {
	    String input = scan.next();
	    numbers[i] = Integer.parseInt(input);
	}
	for (int i = 0; i < 3; i++) {
	    int point = i;
	    for (int j = point; j < 3; j++) {
		if (numbers[point] > numbers[j]) {
		    point = j;
		}
	    }
	    int tmp = numbers[point];
	    numbers[point] = numbers[i];
	    numbers[i] = tmp;
	}
	System.out.println(numbers[0] + " " + numbers[1] + " " + numbers[2]);
    }
} import java.util.Scanner; Scanner java.util public class Main{
    public static void main(String[] args) {
	Scanner scan = new Scanner(System.in);
	int[] numbers = new int[3];
	for (int i = 0; i < numbers.length; i++) {
	    String input = scan.next();
	    numbers[i] = Integer.parseInt(input);
	}
	for (int i = 0; i < 3; i++) {
	    int point = i;
	    for (int j = point; j < 3; j++) {
		if (numbers[point] > numbers[j]) {
		    point = j;
		}
	    }
	    int tmp = numbers[point];
	    numbers[point] = numbers[i];
	    numbers[i] = tmp;
	}
	System.out.println(numbers[0] + " " + numbers[1] + " " + numbers[2]);
    }
} Main public static void main(String[] args) {
	Scanner scan = new Scanner(System.in);
	int[] numbers = new int[3];
	for (int i = 0; i < numbers.length; i++) {
	    String input = scan.next();
	    numbers[i] = Integer.parseInt(input);
	}
	for (int i = 0; i < 3; i++) {
	    int point = i;
	    for (int j = point; j < 3; j++) {
		if (numbers[point] > numbers[j]) {
		    point = j;
		}
	    }
	    int tmp = numbers[point];
	    numbers[point] = numbers[i];
	    numbers[i] = tmp;
	}
	System.out.println(numbers[0] + " " + numbers[1] + " " + numbers[2]);
    } main {
	Scanner scan = new Scanner(System.in);
	int[] numbers = new int[3];
	for (int i = 0; i < numbers.length; i++) {
	    String input = scan.next();
	    numbers[i] = Integer.parseInt(input);
	}
	for (int i = 0; i < 3; i++) {
	    int point = i;
	    for (int j = point; j < 3; j++) {
		if (numbers[point] > numbers[j]) {
		    point = j;
		}
	    }
	    int tmp = numbers[point];
	    numbers[point] = numbers[i];
	    numbers[i] = tmp;
	}
	System.out.println(numbers[0] + " " + numbers[1] + " " + numbers[2]);
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int[] numbers = new int[3]; numbers new int[3] 3 for (int i = 0; i < numbers.length; i++) {
	    String input = scan.next();
	    numbers[i] = Integer.parseInt(input);
	} int i = 0; int i = 0; i 0 i < numbers.length i numbers.length numbers numbers.length i++ i++ i {
	    String input = scan.next();
	    numbers[i] = Integer.parseInt(input);
	} {
	    String input = scan.next();
	    numbers[i] = Integer.parseInt(input);
	} String input = scan.next(); input scan.next() scan.next scan numbers[i] = Integer.parseInt(input) numbers[i] numbers i Integer.parseInt(input) Integer.parseInt Integer input for (int i = 0; i < 3; i++) {
	    int point = i;
	    for (int j = point; j < 3; j++) {
		if (numbers[point] > numbers[j]) {
		    point = j;
		}
	    }
	    int tmp = numbers[point];
	    numbers[point] = numbers[i];
	    numbers[i] = tmp;
	} int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
	    int point = i;
	    for (int j = point; j < 3; j++) {
		if (numbers[point] > numbers[j]) {
		    point = j;
		}
	    }
	    int tmp = numbers[point];
	    numbers[point] = numbers[i];
	    numbers[i] = tmp;
	} {
	    int point = i;
	    for (int j = point; j < 3; j++) {
		if (numbers[point] > numbers[j]) {
		    point = j;
		}
	    }
	    int tmp = numbers[point];
	    numbers[point] = numbers[i];
	    numbers[i] = tmp;
	} int point = i; point i for (int j = point; j < 3; j++) {
		if (numbers[point] > numbers[j]) {
		    point = j;
		}
	    } int j = point; int j = point; j point j < 3 j 3 j++ j++ j {
		if (numbers[point] > numbers[j]) {
		    point = j;
		}
	    } {
		if (numbers[point] > numbers[j]) {
		    point = j;
		}
	    } if (numbers[point] > numbers[j]) {
		    point = j;
		} numbers[point] > numbers[j] numbers[point] numbers point numbers[j] numbers j {
		    point = j;
		} point = j point j int tmp = numbers[point]; tmp numbers[point] numbers point numbers[point] = numbers[i] numbers[point] numbers point numbers[i] numbers i numbers[i] = tmp numbers[i] numbers i tmp System.out.println(numbers[0] + " " + numbers[1] + " " + numbers[2]) System.out.println System.out System System.out numbers[0] + " " + numbers[1] + " " + numbers[2] " " numbers[1] numbers[0] + " " + numbers[1] + " " + numbers[2] numbers[0] numbers 0 " " numbers[1] numbers 1 " " numbers[2] numbers 2 String[] args args public class Main{
    public static void main(String[] args) {
	Scanner scan = new Scanner(System.in);
	int[] numbers = new int[3];
	for (int i = 0; i < numbers.length; i++) {
	    String input = scan.next();
	    numbers[i] = Integer.parseInt(input);
	}
	for (int i = 0; i < 3; i++) {
	    int point = i;
	    for (int j = point; j < 3; j++) {
		if (numbers[point] > numbers[j]) {
		    point = j;
		}
	    }
	    int tmp = numbers[point];
	    numbers[point] = numbers[i];
	    numbers[i] = tmp;
	}
	System.out.println(numbers[0] + " " + numbers[1] + " " + numbers[2]);
    }
} public class Main{
    public static void main(String[] args) {
	Scanner scan = new Scanner(System.in);
	int[] numbers = new int[3];
	for (int i = 0; i < numbers.length; i++) {
	    String input = scan.next();
	    numbers[i] = Integer.parseInt(input);
	}
	for (int i = 0; i < 3; i++) {
	    int point = i;
	    for (int j = point; j < 3; j++) {
		if (numbers[point] > numbers[j]) {
		    point = j;
		}
	    }
	    int tmp = numbers[point];
	    numbers[point] = numbers[i];
	    numbers[i] = tmp;
	}
	System.out.println(numbers[0] + " " + numbers[1] + " " + numbers[2]);
    }
} Main
import java.util.Scanner;
public class Main{
    public static void main(String[] args) {
	Scanner scan = new Scanner(System.in);
	int[] numbers = new int[3];
	for (int i = 0; i < numbers.length; i++) {
	    String input = scan.next();
	    numbers[i] = Integer.parseInt(input);
	}
	for (int i = 0; i < 3; i++) {
	    int point = i;
	    for (int j = point; j < 3; j++) {
		if (numbers[point] > numbers[j]) {
		    point = j;
		}
	    }
	    int tmp = numbers[point];
	    numbers[point] = numbers[i];
	    numbers[i] = tmp;
	}
	System.out.println(numbers[0] + " " + numbers[1] + " " + numbers[2]);
    }
}