CIBC interview question

It was ok nothing so difficult