Produce a melody that adheres to the given chord sequence.
'D', 'Bm', 'G', 'D', 'A', 'D', 'D', 'D', 'Em', 'D', 'Em', 'D', 'Em', 'D', 'G', 'D', 'Em', 'D'  
X:1
L:1/8
M:4/4
K:D
|: A2 |"D" d2 dA BAFA | ABdA BAFA | ABde"Bm" f2 ed |"G" Beed egfe |"D" d2 dA BAFA | ABdA BAFA | 
 ABde"A" fdec |"D" dBAF"D" D2 :: fg |"D" a2 ag"Em" fgfe |"D" d2 dA BAFA | ABde f2 ed | 
"Em" Beed egfe |"D" abag"Em" fgfe |"D" d2 dA BAFA |"G" ABde"D" fdec |"Em" dBAF"D" D2 :|  