public static void main(String[] args) { Scanner in = new Scanner(System.in); String num = in.nextLine(); int n = Integer.parseInt(num); if(n<1 || n>100000){ return; } String s = in.nextLine(); String t = in.nextLine(); if(s.length() != n || t.length() != n){ return ; ...