import re


def abbreviate(words: str) -> str:
    return "".join(word[0] for word in re.findall(r"[a-zA-Z]+(?:'[a-z])?", words)).upper()

a49682e4244a5f1ce4e390ec60ceb5f71f4bf647
<mask token>

<mask token>


def abbreviate(words: str) ->str:
    return ''.join(word[0] for word in re.findall("[a-zA-Z]+(?:'[a-z])?",
        words)).upper()

import re


def abbreviate(words: str) ->str:
    return ''.join(word[0] for word in re.findall("[a-zA-Z]+(?:'[a-z])?",
        words)).upper()

import re


def abbreviate(words: str) -> str:
    return "".join(word[0] for word in re.findall(r"[a-zA-Z]+(?:'[a-z])?", words)).upper()
