public class Main { public static void main(String[] args){ Scanner in = new Scanner(System.in); while (in.hasNext()) { int len = Leven(in.next(), in.next()); System.out.println(len); } } public static int Leven(String a, String b){ ...