What is wrong with this? I have no idea. Please please PLEASE help
package com.codegym.task.task04.task0421;
/*
Jen or Jen?
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader bu = new BufferedReader(new InputStreamReader(System.in));
String a = bu.readLine();
String b = bu.readLine();
int a1 = a.length();
int b1 = b.length();
if(a.equals(b)) {
System.out.println("The names are identical");
}
if(a1 == b1) {
System.out.println("The names are the same length");
}
}
}