Fidelity Investments interview question

Basic hackerrank