Amscot Financial Interview Question

it was really easy