import java.util.Scanner;
public class Aws {
public static void main(String[] args) {
Ststem.out.println("输入互换前手中的纸牌:");
Scanner input = new Scanner(System.in);
System.out.println("输入左手中的纸牌:");
int left = input.nextInt();
System.out.println("输入右手中的纸牌:");
int rigth = input.nextInt();
int total = left + rigth;
int swap1 = total - left;
int swap2 = total - rigth;
System.out.println("输入互换后手中的纸牌:");
Scanner scanner = new Scanner(System.in);
System.out.println("输入左手中的纸牌:" + swap1);
System.out.println("输入右手中的纸牌:" + swap2);
}
}