im trying to add input to its respective arraylist and my ouput is like the picute shown below, i only need the output to print the third line, please help me solve this in the simpliest way in java 10 public static Arraylistestring>names = new ArrayListeString >(); public static void main(String[] args) \& try \{ FileReader input = new FileReader ("Input, txt"); BufferedReader sb = new BufferedReader ( input); String line; while ((iine=sb, readLine ())!= null ) \{ //String nextline = infile.nextLine(); String [l] data= line.split(","); String nam = data [0]; names.add (nam): System.out.print ln (names); 3 catch (FileNotFoundException e) \{ System.out.println("File does not exist:"); \} catch (Exception e) \{ e.printstackTrace(); \} \}. 3 8. Problems@Javadoc Console gI Terminal B Coverage & Breakpoints Lerminateds LabProgram (27) [Java Application] /Users/fionaberbiu/p2/pool/plugins/org.eclipse.justi.openjdk hotspot.jre full ma [Names] [Names, Enma] [Names, Emma, Era].