import re


def check_hgt(value):
    """
    hgt (Height) - a number followed by either cm or in:
    - If cm, the number must be at least 150 and at most 193.
    - If in, the number must be at least 59 and at most 76.
    """
    pattern = r"^([0-9]{2,3})(cm|in)$"
    match = re.match(pattern, value)
    if match:
        num, unit = match.groups()
        if unit == "cm" and 150 <= int(num) <= 193:
            return True
        if unit == "in" and 59 <= int(num) <= 76:
            return True
    return False