J.P. Morgan Interview Question

Fairly straight forward