def transform_subject_number(subject_number, loop_size):
    """
    Args:
        subject_number (int)
        loop_size (int)

    Returns:
        int:
            The resulting subject number.
    """

    return pow(subject_number, loop_size, 20201227)