import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner in = new Scanner(System.in); String str = in.nextLine(); String[] strs = str.split(","); int a = Integer.parseInt(strs[0].substring(2)); int b = Integer.parseInt(...