Collect all the apples from the tree while avoiding acorns.