Question: Are The Makropulos Affair and From the House of the Dead both written by Leoš Janáček?

Context paragraphs:
The Makropulos Affair: Věc Makropulos is a Czech play written by Karel Čapek.  Its English title has been variously rendered as "The Makropulos Affair", "The Makropulos Case", or "The Makropulos Secret".  "The Makropulos Secret" was Čapek's own preferred English rendition of the play's title.  The literal translation of the Czech title reads as "The Makropulos Thing".

Janáček (crater): Janáček is a crater on Mercury.  It has a diameter of 47 kilometers.  Its name was adopted by the International Astronomical Union in 1985.  Janáček is named for the Czech composer Leoš Janáček, who lived from 1854 to 1928.

Capriccio (Janáček): The Capriccio for Piano Left-Hand and Chamber Ensemble (sometimes titled Defiance, in Czech: "Vzdor") is a composition by the Czech composer Leoš Janáček.  The work was written in the autumn of 1926 and is remarkable not just in the context of Janáček's output, but it also occupies an exceptional position in the literature written for piano played only by the left hand.  The piece is scored for piano, flute, two trumpets, three trombones and tenor tuba.

Sinfonietta (Janáček): The Sinfonietta (subtitled “Military Sinfonietta” or “Sokol Festival”) is a very expressive and festive, late work for large orchestra (of which 25 are brass players) by the Czech composer Leoš Janáček.  It is dedicated “To the Czechoslovak Army” and Janáček said it was intended to express “contemporary free man, his spiritual beauty and joy, his strength, courage and determination to fight for victory.”  It started by Janáček listening to a brass band, becoming inspired to write some fanfares of his own.  When the organisers of the Sokol Gymnastic Festival approached him for a commission, he developed the material into the "Sinfonietta".  He later dropped the word "military".  The first performance was in Prague on 26 June 1926 under Václav Talich.  Typical performance duration is 20–25 minutes.

Leoš Janáček International Competition in Brno: The Leoš Janáček International Competition in Brno (hereinafter referred to as MSLJ) (Czech: Mezinárodní soutěž Leoše Janáčka v Brně ) is a music competition held annually by the Faculty of Music of the Janáček Academy of Music and Performing Arts Brno.  The MSLJ was named after the famous composer Leoš Janáček.

Káťa Kabanová: Káťa Kabanová (also known in various spellings including "Katia", "Katja", "Katya", and "Kabanowa") is an opera in three acts, with music by Leoš Janáček to a libretto by , based on "The Storm", a play by Alexander Ostrovsky.  The opera was also largely inspired by Janáček's love for Kamila Stösslová.  This is often considered his first "mature" opera, despite the fact that he was 67 when it was premiered.  "Káťa Kabanová" is a clear response to Janáček's feelings for Kamila, and the work is dedicated to her.  The first performance was at the National Theatre (Národní divadlo v Brně ) in Brno on 23 November 1921.

From the House of the Dead: From the House of the Dead ("Z mrtvého domu" in Czech) is an opera by Leoš Janáček, in three acts.  The libretto was translated and adapted by the composer from the 1862 novel by Dostoyevsky.  It was the composer's last opera, premiered on 12 April 1930 in Brno, two years after his death.

The Makropulos Affair (opera): The Makropulos Affair (or "The Makropoulos Case", "The Makropulos Secret", or, literally, "The Makropulos Thing"; Czech Věc Makropulos) is a Czech opera in 3 acts, with music and libretto by Leoš Janáček.  Janáček based his opera on the play "Věc Makropulos" by Karel Čapek.  Composed between 1923 and 1925, "The Makropulos Affair" was his penultimate opera and, like much of his later work, was inspired by his infatuation with Kamila Stösslová, a married woman much younger than himself.

Elegy on the Death of Daughter Olga: Elegy on the Death of Daughter Olga, JW 4/30 (also translated as the Elegy on the Death of My Daughter Olga; in Czech: Elegie na smrt dcery Olgy) is a cantata for tenor solo, mixed choir and pianoforte, written by the Czech composer Leoš Janáček in 1903.  It was written to commemorate the death of composer's daughter, Olga Janáčková.  Janáček composed the piece to the text of the Russian teacher Marfa Nikolayevna Veveritsa.

Destiny (Janáček): Destiny (also known as "Fate", Czech: "Osud" ) is an opera in three acts by Leoš Janáček to a Czech libretto by the composer and Fedora Bartošová.  Janáček began the work in 1903 and completed it in 1907.  The inspiration for the opera came from a visit by Janáček in the summer of 1903, after the death of his daughter Olga, to the spa at Luhačovice.  There, Janáček met Kamila Urválková, who had been the subject of an opera by Ludvík Čelanský, "Kamila", where she felt that Čelanský had falsely depicted her personality.  After learning that Janáček was a composer, Urválková persuaded Janáček to write another opera to counteract Čelanský's portrait of her.

Supporting paragraphs: The Makropulos Affair (opera) From the House of the Dead
Answer: yes