Logic riddle of childhood

 

v20240901