Hello, I don't understand what's wrong here. If I initialize int n = 0 then it's not taking the first input into account. But if I initialize it with Integer.parseInt(lecteur.readLine()) my code crashes at l.17 with the error java.lang.NumberFormatException: For input string: "" as if it couldn't parse correctly.