J.P. Morgan Interview Question

as above in my description.