SyntaxFix
Write A Post
Hire A Developer
Questions
You're calling br.readLine() a second time inside the loop. Therefore, you end up reading two lines each time you go around.
br.readLine()