J.P. Morgan Interview Question

Straight forward