Manulife interview question

Difficulty handle