Autumn Challenge 2023: Lion and Unicorn

I don’t know “XOR form”, sorry, but only “XOR” may be an operation on GF(2) (Boolean Ring). I will check it later.