A riddle for logic, given to children in older groups of kindergarten (for some reason, pluses are not put)

 

v20240901