//import java.io.*; import java.util.Scanner; public class Main { public static void main(String[] args) { //InputStream in = System.in; &...