Logic task for the night

 

v20240901