Deloitte interview question

Question based on puzzles and logical thinking