import java.util.*; public class Main { static int[] ans = new int[2]; public static void main(String[] args) { Scanner in = new Scanner(System.in); //while (in.hasNextInt()) {// 注意,如果输入是多个测试用例,请通过while循环处理多个测试用例 // int a = in.nextInt(); // int b = in.ne...