Fidelity Investments Interview Question

Write any of script in any language?