Subway Interview Question

very easy question