Walgreens interview question

Not really anything too difficult.