Write a piece of music that adheres to the indicated chord sequence.
'D', 'Bm', 'D', 'Bm', 'D', 'Bm', 'A', 'D', 'D', 'Bm', 'G', 'A', 'D', 'D', 'D', 'Bm', 'G', 'D', 'A', 'D'  
X:1
L:1/8
M:2/2
K:D
 A2 d2 e2 |:"D" f2 (fg) fedc |"Bm" B2 (Bc) BAde |"D" f2 (fg) fedc |"Bm" B3 (B- BA)de | 
"D" f2 (fg) fedc |"Bm" (BA)(Bc) BAFG |"A" (AB)AG (FD)EF |1"D" D2 (AB) cde=f :|2"D" D3 (D- DE)FA |: 
"Bm" B2 (Bc) BABc | B2 (Bc) BAFA | B2 (Bc) BABc | B2 (Bc) BAFA |"G" B2 (Bc) BABc | B2 (Bc) BAFG | 
"A" (AB)AG (FD)EF |1"D" D3 (D- DE)FA :|2"D" D z A2 d2 e2!D.S.! ||"D""^Final ending" D3 (D- DE)FA || 
"Bm" B2 (Bc) BABc | B2 (Bc) BAFA | B2 (Bc) BABc | B2 (Bc) BABc |"G" d3 (d- dc)Bc | 
"D" (dc)de (fe)df | (gf)ed"A" (BA)FE |"D" Dz(DE) FABA | d2 !fermata!z2 [FA]4 ||  