Two Pieces of Nuts (Hungarian: Két szem magyaró) is a Hungarian folktale collected by István Banó in Baranya. In it, a woman promises to give birth to wonderful children who are subsequently taken from her by jealous associates or relatives.

Plot summary Three women are in a meadow cutting grass and express their wishes to marry the king. The first promises to bake bread enough to feed an entire regiment; the second promises to weave a sheet large enough to cover an entire troop; and the third says she will bear children with a moon on the chest and a star on the forehead. The king overhears this conversation and marries the third woman, who gives birth to twin boys. A jealous cook working for the king, who wanted the king to marry her daughter, replaces the children with puppies and casts the babies in the water. They are saved by a forester, while their mother is locked up in a cell.

One day, the king announces his new marriage to the cook's daughter, and has a puzzle for his guests: to count the nuts from two big bowls. His sons, now seven years old, go to their father's court to count the nuts. They begin the count while telling their and their mother's story. After they finish, they reveal their astral birthmarks to the court. The king then restores their mother as his queen.

Classification The story is similar to other stories of endangered children who later return to tell their story. The tale is classified in the international Aarne-Thompson-Uther Index (ATU) as type 707—"The Three Golden Children".

Variants West Slavic languages Czechia In a Moravian variant collected by and Jan Soukop with the title Princ se zlatým křížem na čele ("The Prince with a golden cross on the forehead"), a poor mother has three young daughters, the youngest sister always promising to give birth to children with a golden cross on the forehead. She marries a king and bears three sons in three consecutive pregnancies, but, while the king is away, each time a son is replaced by a puppy and thrown in the water. Fortunately, the children are washed ashore safely at St. Anna's Chapel. After the third birth, the king's chambermaid falsifies a king's letter with a command to kill the queen, but she is spared and is exiled from the castle. The queen finds her three sons in St. Anna's Chapel. Some time later, the king learns of his wife's "death" and is persuaded to marry again, but he sets a test: he will marry the one that is able to count the nuts in a bowl. St. Anna appears to the sons and convinces the eldest to go to his father's castle and count the nuts in front of the king.

Poland In a Polish tale collected around Zamość and Krasnystaw and published in scholar publication with the title Synek ze złotą główką ("A Son with a Golden Head"), three sisters comment among themselves what they would do if each one married the king, and the youngest says she will give birth to a son with a golden head. She marries the king and her envious sisters kill the boy and bury him in the garden. An apple tree with golden leaves appears, the sisters notice it is the boy and order it to be burnt down. An ewe passes by the pyre, licks the ashes and becomes pregnant with a golden-fleeced sheep. The sisters order the sheep to be killed for the feast at the ball and its innards to be eaten by the forsaken queen, in her house. The innards tell the mother they are her son and she should wait until they regain his former human shape. It happens so and the boy, now six years old, goes to court to tell his story while counting nuts. Polish scholar Julian Krzyżanowski, establisher of the Polish Folktale Catalogue, listed this tale as a variant of type 707, which is known in Poland as Trzej synowie z gwiazdą na skroni ("Three Sons With Stars on the Temple").

In a tale from Łowicz, collected from a Malzorgata Falowska, Bajka o chłopcu z gwiazdą ("About the boy with the star"), three sisters see the king passing by and state their wishes, the youngest to marry the king and bear him a son with a star on the forehead. She marries the king and gives birth to the boy, who is cast into the sea. He is saved by an old woman who raises the boy. Years later, the king prepares his wedding and a test: he will give half his kingdom to anyone who can count the nuts. The boy wears a cap to hide his birthmark and goes to the wedding.

East Slavic languages Belarus Russian ethnographer Grigory Potanin cited a Belarusian tale published in 1887 in the book Belorussky Sbornik (A Belarusian Compilation), by ethnographer and folklorist . In this story, there lived three sisters. One day, heavy rain starts to pour and they take refuge under a tree. A local river floods and the king sends a servant to find the problem at its source. The servant finds the three sisters and overhears their conversation: the youngest promises to give birth to the king's son with the moon on the forehead and a star on the back. The sisters falsify a letter to trick the king and cast the queen and child in the sea. Later, the prince returns to the palace to reveal the truth while counting nuts before the king.

In a Belarusian tale titled "Два у кораб арэшкі" ("Two Nuts in a Ship"), three daughters of a couple go to a banya. A king, passing by with his retinue, notices the sounds from the bathhouse and orders a servant to check on it. The servant goes to investigate and overhears the girls' conversation: the elder boasts she can cover the whole world, the second that she can sew for the whole world with a single thread, and the third wants to marry the king and promises to bear him twin sons, one with the Moon and stars on the front, and the second with the Sun on the forehead. The next day, the king returns and takes the youngest sister for wife. Some time later, war erupts, and the king departs, leaving his wife under her elder sisters' care. Jealous of their cadette's fortune, they falsify a series of letter to the king, informing she gave birth to puppies, and also forge some king's letter with an order to expel the queen and her sons into the world. The false orders are carried out, and the disgraced queen, with her twins, has to beg for alms for a living, and hides her sons' astral birthmarks with caps. After some five or six years, the queen takes the children to a lake, intending to drown them, but the boys plead that they can still return to their father. Meanwhile, the king, their father, is holding a ball, and invited everyone. The beggar queen asks for a maidservant to spend the night in the kitchen, and the maidservant agrees. The boys eat and drink to sate their hunger and thirst. Later, the king sends for a large boat containing nuts inside, and promises to give half of the kingdom to whoever solves the riddle. Many try and do not. Back to the kitchen, the boys tell their mother they can solve the riddle, and the maidservant allows them to go to the ball. The twins count the nuts while interlacing their mother's story, and reveal their shining birthmarks after they finish. The king, discovering the truth, executes his sisters-in-law and restores his wife and children to his side. Belarusian folklorists and Galina A. Bartashevich classified the tale as East Slavic tale type SUS 707.

In a Belarusian tale titled "Тры дачкі" ("Three Daughters"), three sisters are walking near a rye field, when they talk among themselves: the eldest promises to give good rye to her husband, the middle one good wheat, and the third promises to bear a son with stars on his temples, the Moon on the front, the Sun on the back of the neck, his hands of gold and legs of silver. One of the master's sons overhears the girls' conversation and decides to marry the third one that promised a wonderful child. It happens thus, and she gives birth to her promised son. However, a sequence of forged letters by the elder sisters force the girl and her son to be thrown in a barrel. The barrel is washed ashore on an island, where they meet an old woman who takes them in. Some time later, the old woman is baking a pie, and goes to a wedding: the boy's father marriage to another bride. At the ceremony, the man places a container full of nuts and promises to give his entire estate to whoever counts them. The boy begins to count the nuts two by two, all the while interweaving the story of how his parents met, then shows his father his astral birthmarks and metal-coated body parts, thus proving his parentage. The man dismisses his second bride, and retakes his previous wife. Belarusian folklorists Kostantin P. Kabashnikov and Galina A. Bartashevich classified the tale as East Slavic tale type SUS 707.

Ukraine In a Transcarpathian-Ukrainian tale titled "Два золотоволосі хлопці-принці" ("The Two Golden-Haired Princes"), a king has a son and asks him to find a bride. The prince wanders the world and rides near a stream, where three maidens are washing clothes. They sight him and make grand promises to marry him: the first boasts that she can made clothes from a single hemp, the second one to feed the entire army with a single ear of wheat and its bread, and the third promises to bear him two golden-haired boys. The prince overhears their conversation, then goes to talk to the third maiden, who repeats her promise to bear two golden-haired children. The prince is curious about it, since he has never heard anything about it, even after studying and travelling the world, and decides to take her as his wife. They marry in a large wedding ceremony and with a splendid feast, but cannot stay longer, since a pagan king has declared war. Thus the prince rides to war, while his chamberlain plots to ruin the new princess, since she wanted the prince to marry her daughter. The princess gives birth to two golden-haired boys, and the chamberlain falsifies a series of letters to lie that the princess gave birth to two puppies, replaces the twins for animals and buries them in manure. The prince returns from war after three days, falls for the deception, and orders her to be buried up to her torso, and for people to open and close the doors on her face. As for the children, two beautiful sycamore trees sprout, so the chamberlain senses something about them and wants them cut down. The prince likes the trees and wishes to have something to remember them, so he has two beds made for him and the chamberlain. The beds converse at night, saying that holding the chambermaid is a heavy burden for him. The chamberlain overhears their talk and wants the beds burnt down, which is carried out. All that remains of the beds are two coals, which a shepherd grinds and places in the sheep's ration. An ewe eats and gives birth to two golden-wooled lambs. The prince likes the animals, but the chamberlain wants them killed and does the deed herself. She kills and cooks the lambs, and orders two washing girls to take the wool and wash the entrails the river, without missing any piece. While washing, two pieces of fur wash away and an old woman finds them. She hangs them to dry and the fur turns into two golden-haired boys, whom the old woman raises. When they grow up, the boys decide to rescue their mother, since she, as an innocent, is being mistrated and mistakingly punished. They go to the prince's castle and say they travel the world telling tales. The prince welcomes the handsome pair of brothers and bids them tell a story, but they say they need a potful of nuts. As they retell their tale, their mother slowly rises out of the ground, while the chamberlain tries to interrupt their story. The twin boys remove their kerchiefs to reveal their shining golden hair, and their mother recognizes them as her sons. The prince reunites with his wife and tears apart the chamberlain.

South Slavic languages Croatia