The youth sat down in the garden and considered how he might perform this task. But he could think of nothing, and there he sat sorrowfully awaiting the break of day, when he should be led to death. But as soon as the first rays of the sun shone into the garden, he saw all the ten sacks standing side by side, quite full, and not a single grain was missing. The Ant-King had come in the night with thousands and thousands of ants, and the grateful creatures had, by great industry, picked up all the millet-seeds and gathered them into the sacks.
Presently, the King’s Daughter herself came down into the garden, and was amazed to see that the young man had done the task she had given him.
But she could not yet conquer her proud heart, and said, “Although he has performed both the tasks, he shall not be my husband, until he has brought me an apple from the Tree of Life.”
The youth did not know where the Tree of Life stood, but he set out, and would have gone on forever, as long as his legs would carry him, though he had no hope of finding it. After he had wandered through three kingdoms, he came one evening to a wood, and lay down under a tree to sleep.
But he heard a rustling in the branches, and a Golden Apple fell into his hand. At the same time three ravens flew down to him, perched themselves upon his knee, and said, “We are the three young ravens whom you saved from starving. When we had grown big, and heard that you were seeking the Golden Apple, we flew over the sea to the end of the world, where the Tree of Life stands, and have brought you the apple.”
The youth, full of joy, set out homeward, and took the Golden Apple to the King’s beautiful Daughter, who had now no more excuses left to make. They cut the Apple of Life in two and ate it together; and then her heart became full of love for him, and they lived to a great age in undisturbed happiness.