Payoneer interview question

To solve a rather simple code question by writing code in a shared coding editor