import java.util.Arrays;
import java.util.Scanner;
public class SmallBig {
public static void main(String[] args) {
//将三个整数从小到大输出
Scanner scan=new Scanner(System.in);
System.out.println("输入三个整数:");
int x=scan.nextInt();
int y=scan.nextInt();
int z=scan.nextInt();
int[] arr= {x,y,z};
Arrays.sort(arr);
System.out.print("输出三个整数:");
for(int i=0;i<arr.length;i++) {
System.out.println(arr[i]);
}
}