import re


def get_users(text: str) -> list:
    """
    get mentioned users from the text

    Args:
        text (str): the text to be parsed

    Returns:
        users (list): the list of mentioned users
    """
    # if the text is not empty, return the list of mentioned users id from the text (if exist)
    # else return an empty list
    if text and (users := re.findall(r"U[A-Z0-9]{10}", text)):
        return users  # ['Uxxxxxxxxxx', ...]: list
    else:
        return []