Microsoft Interview Question

3 baskets riddle