Capgemini interview question

puzzles