def decrypt(private_key, encrypted):
    """
    :param private_key: (d, n)
    :param encrypted: list of encrypted bytes
    :return: decrypted string
    """
    d, n = private_key
    plain = [chr(int(pow(x, d, n))) for x in encrypted]
    return ''.join(plain)