Pregunta de entrevista de Scott Logic

A very common logic puzzle