Subway Interview Question

extremely easy questions.