Problems with output reading (Java)

1 
1