static int parseInteger(String line) {
        Matcher matcher = INTEGER_PATTERN.matcher(line);

        matcher.find();
        String number = matcher.group(1);

        return Integer.parseInt(number);
    }