Develop a melody based on the provided sequence of chords.
'D', 'Em', 'A7', 'D', 'E', 'D', 'Bm', 'Em', 'A7', 'G', 'A7', 'D', 'D', 'G', 'E', 'E7', 'A', 'A7', 'D', 'G', 'D', 'A7', 'G', 'A7', 'D'  
X:1
L:1/4
M:2/2
K:D
 a |"D" f d d b |"Em" g e"A7" e a |"D" f d"E" B/c/d/e/ |"^Aa" c A A a/g/ |"D" f/g/a/f/"Bm" d b/a/ | 
"Em" g/a/b/g/"A7" e a |"G" g/f/e/d/"A7" A c |"D" d2- d :: A |"D" F A d F |"G" G B B3/2 A/ | 
"E" ^G B"E7" e G |"A" A c"A7" e f/g/ |"D" a g/f/"G" b a/g/ |"D" a/g/f/g/"A7" e a | 
"G" g/f/e/d/"A7" A c |"D" d2- d :|  