My new favourite logic puzzle

I enjoy a good logic puzzle, often those involving the more mind-boggling aspects of probability, such as Monty Hall and the Tuesday's child puzzles. But I've recently come across a more pure logic one that it took me a while to get my head around. It's apparently an old one, much debated on social media, so apologies if you've already come across it. I came across it while reading to review…