J.P. Morgan interview question

Fairly straight forward