The son of the poor woman exchanges their only piece of property, a cow, for one bean. It turns out that the bean has magic powers the boy climbs to the skies on its long stem. There he finds a palace * and a three headed dragon lives there. With the help of the dragon's wife the boy steals the hen that lays golden eggs. After returning to the ground he cuts the gigantic bean, and the dragon falls down and is killed. They live happily ever after.