Basic demonstration that I know basic logic gates.
Honestly, a 3-hour coding session for this weird code is not worth it. It looks too stupid to appear in my repo but have to put this here just in case I was questioned about the legitimacy of the code I gave as a submission.