McKesson Interview Question

How would you handle Problem A?