import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Java_learn { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] str11 = br.readLine().trim().split(" "); String str1 = str11[0]; String str2 = str11[1]; System.out.println(getCommonStrLength(str1,str2)); } public static String getCommonStrLength(String str1, String str2){ if(str1 == null || str2 == null){ return null; } if (str1.equals("") || str2.equals("")){ return null; } String max = ""; String min = ""; if(str1.length() 7) { // x -= 1; // System.out.print("This is a valid statement." + '\n'); // } // for (x = 0; x