@@ -0,0 +1,517 @@
+import java.util.*;%0A%0Apublic class Solution %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A%0A        Scanner sc =new Scanner(System.in);%0A        String A = sc.next();%0A        String B = sc.next();%0A%0A        System.out.println(A.length() + B.length());%0A        System.out.println(A.compareTo(B) %3E 0 ? %22Yes%22 : %22No%22);%0A        System.out.println(capitalize(A) + %22 %22 + capitalize(B));%0A    %7D%0A%0A    private static String capitalize(String word) %7B%0A        return word.substring(0, 1).toUpperCase() + word.substring(1);%0A    %7D%0A%0A%7D%0A

Solve string intro