def get_words(data, letters):
    """Get all words in the data that can be made with the provided letters and have all capitalized letters."""
    all_letters = {letter.lower() for letter in letters}
    required_letters = {
        letter.lower() for letter in letters if letter == letter.upper()
    }
    return [
        word
        for word in data
        if set(word.lower()) <= all_letters and required_letters <= set(word.lower())
    ]