Develop a melody based on the provided sequence of chords.
'Am', 'Am', 'G', 'D', 'A', 'E7', 'A', 'A', 'E7', 'A', 'Am', 'G', 'Am', 'Em', 'Am', 'G', 'Am'  
X:1
L:1/8
M:4/4
K:D
 eg |"Am" a2 ab ageg |"Am" a2 ab agef |"G" g2 ge fgag |"D" f2 d2 d2 :| | A | |: ed | 
"A" cAcA"E7" B2 ed |"A" cAcA E2 ed |"A" cAcA"E7" B2 ed |"A" c2 A2 A2 :| | A | |: AB | 
"Am" cdec"G" BcdB |"Am" ABAF"Em" GF E2 |"Am" cdec"G" BcdB |"Am" c2 A2 A2 :|  