from typing import Tuple


def encrypt(m: int, PU: Tuple[int, int]) -> int:
    """Encryption

    Param:
        m: int -- value to encrypt
        PU: tuple of ints -- key

    Returns ciphertext
    """
    e, n = PU
    cipher = (m**e) % n
    return cipher