BNP Paribas interview question

logical test