New York Life interview question

How to code something backwards.