The swineherd John spots a tree outside the palace that it is so high it reaches the sky. It blossoms in the morning, by noon it bears fruits and by midnight they are ripe. However someone steals each and every apple and the king does not get to taste it. Furious, hr decides to find out who the culprit is.