import re


def check_password(password):
    """Checks if the password is safe enough (At least 1 number, 1 capital letter and 1 special character)."""
    cap_letter_regex = re.compile(r"[A-Z]+")
    cap_letter_found = re.search(cap_letter_regex, password)

    number_regex = re.compile(r"\d+")
    number_found = re.search(number_regex, password)

    spec_charac_regex = re.compile(r"\W+")
    spec_charac_found = re.search(spec_charac_regex, password)

    if cap_letter_found and number_found and spec_charac_found:
        return True
    else:
        return False