def rsa_decrypt(cipher: int, d: int, n: int) -> int:
    """
    decrypt ciphers with the rsa cryptosystem

    :param cipher: the ciphertext
    :param d: your private key
    :param n: your public key (n)
    :return: the plaintext
    """
    return pow(cipher, d, n)