The Resistance puzzle: bug in starter code

Hello,
A littlebug in the “The Resistance” puzzle starter code:
Here L is not the input Morse seqence’s length (an int) but the input Morse sequence itself (a String)
java release:

public static void main(String args[]) {
        Scanner in = new Scanner(System.in);
        int L = in.nextInt(); // ERROR! must be: String L = in.next(); // the input Morse sequence
        int N = in.nextInt();
        for (int i = 0; i < N; i++) {
            String W = in.next();
        }

        // Write an action using System.out.println()
        // To debug: System.err.println("Debug messages...");

        System.out.println("answer");
    }

There is the same bug in all other languages starter code.
Thanks