Amazon interview question

they asked me a logical reasoning question