Yeah the logic is clear. But consider the lesson of War Games.
The riddle can also be a mindfucking trap. The first, implicit, assertion of these kinds of riddles is that you must solve the riddle because the riddle is important (because it accurately represents reality or something)
But that might not be so.
So if we're gonna cut through the riddle then that might be our access point.