def transform(subject_number: int, loop_size: int) -> int:
    """Transform a subject number and loop size into a public key

    :param subject_number: transformation input value
    :param loop_size: number of iterations
    :return: key value
    """
    value = subject_number**loop_size % 20201227
    return value