Compose a harmonious melody following the provided chord sequence.
'D', 'Em', 'A7', 'D', 'Em', 'E7', 'A7', 'D', 'E7', 'A', 'F#m', 'E7', 'A', 'E7', 'A', 'D', 'A7', 'D', 'A', 'D', 'Em', 'A', 'Bm', 'A7', 'D', 'A7', 'D', 'D', 'D', 'A', 'Em', 'A7', 'D', 'F#7', 'G', 'Em', 'D', 'A7', 'D'  
X:1
L:1/8
M:2/4
K:D
 A |"D" Ad dd |"Em" e/d/c/d/"A7" eg |"D" fd"Em" Be |"E7" d2"A7" cA |"D" Ad dd | 
"E7" e/d/c/d/"A" e>d |"F#m" cA"E7" B^G |"A" A2"E7" Ad |"A" cA"D" Ad |"A7" cA"D" Ad |"A" ce g"D"f | 
"Em" f2 ed |"A" cA"Bm" Ad |"A7" cA"D" a>d |"A7" c>d ec |"D" d2 d |]: A |"D" Ad df |"D" f2 fd | 
"A" ce eg |"Em" g2"A7" g>e |"D" f>e"F#7" dc |"G" dB"Em" AG |"D" Fd"A7" Ec |"D" d2 d :|  