Microsoft interview question

3 baskets riddle