private static boolean isAllowed(String e, String[] bannedPrefixes) {
        for (String bannedPrefix : bannedPrefixes) {
            if (e.startsWith(bannedPrefix))
                return false;
        }
        return true;
    }
Why Did you create this class? what does it do?
src/codeforces/ValidateCard.java