Task: Question Answering
Input (English): Passage: Bedřich Smetana, first named Friedrich Smetana, was born on 2 March 1824, in Litomyšl (German: Leitomischl), east of Prague near the traditional border between Bohemia and Moravia, then provinces of the Habsburg Empire. He was the third child, and first son, of František Smetana and his third wife Barbora Lynková. František had fathered eight children in two earlier marriages, five daughters surviving infancy; he and Barbora had ten more children, of whom seven reached adulthood. At this time, under Habsburg rule, German was the official language of Bohemia. František knew Czech but, for business and social reasons, rarely used it; and his children were ignorant of correct Czech until much later in their lives.
The Smetana family came from the Hradec Králové (German: Königgrätz) region of Bohemia. František had initially learned the trade of a brewer, and had acquired moderate wealth during the Napoleonic Wars by supplying clothing and provisions to the French Army. He subsequently managed several breweries before coming to Litomyšl in 1823 as brewer to Count Waldstein, whose Renaissance castle dominates the town.The elder Smetana, although uneducated, had a natural gift for music and played in a string quartet. Bedřich was introduced to music by his father and in October 1830, at the age of six, gave his first public performance. At a concert held in Litomyšl's Philosophical Academy he played a piano arrangement of Auber's overture to La muette de Portici, to a rapturous reception. In 1831 the family moved to Jindřichův Hradec in the south of Bohemia—the region where, a generation later, Gustav Mahler grew up. Here, Smetana attended the local elementary school and later the gymnasium. He also studied violin and piano, discovering the works of Mozart and Beethoven, and began composing simple pieces, of which one, a dance (Kvapiček, or "Little Galop"), survives in sketch form.In 1835, František retired to a farm in the south-eastern region of Bohemia. There being no suitable local school, Smetana was sent to the gymnasium at Jihlava, where he was homesick and unable to study. He then transferred to the Premonstratensian school at Německý Brod, where he was happier and made good progress. Among the friends he made here was the future Czech revolutionary poet Karel Havlíček, whose departure for Prague in 1838 may have influenced Smetana's own desire to experience life in the capital. The following year, with František's approval, he enrolled at Prague's Academic Grammar School under Josef Jungmann, a distinguished poet and linguist who was a leading figure in the movement for Czech national revival. 
Question: What is the first name of the person who was the first son of his father and his father's third wife?
Output (English): Bedřich.