Develop a melody based on the provided sequence of chords.
'Am', 'G', 'Am', 'G', 'Am', 'Am', 'G', 'Em', 'G', 'Am', 'Am', 'G', 'Am', 'G', 'Am', 'Am', 'G', 'Am', 'G', 'Em', 'Am', 'Am', 'G', 'Am', 'G', 'Am', 'Am', 'G', 'Am', 'G', 'Em', 'Am', 'A', 'G', 'A', 'G', 'A', 'A', 'G', 'G', 'Am', 'G', 'Em', 'Am'  
X:1
L:1/8
M:2/2
K:G
"Am" A,3 C E3 F |"G" GEDB, G,B,DB, |"Am" A,3 C E3 F |"G" GEDF"Am" EA,A,G, |"Am" A,3 C E3 F | 
"G" GEDB, D2 g2 |"Em" edeg a2 ba |"G" gedB"Am" BA A2 ::"Am" a2 ag agef |"G" g2 ga gede | 
"Am" a2 ab agef |"G" gedB"Am" BA A2 |"Am" agef gage |"G" d3 B GABd | 
"Am" (3(cBA) BA"G" (3(B^cd) ef |"Em" gedB"Am" BA A2 ::"Am" eABA eABA |"G" d3 B GABd | 
"Am" eABA eAAa |"G" gedB"Am" BA A2 |"Am" eABA eABA |"G" d3 B GABd |"Am" (3(cBA) BA"G" (3(B^cd) ef | 
"Em" gedB"Am" BA A2 ::"A" ae^ce aece |"G" gdBd gdBd |"A" ae^ce a3 f |"G" gedB"A" BAAe | 
"A" agef"G" g3 e |"G" dedB GABd |"Am" (3(cBA) BA"G" (3(B^cd) ef |"Em" gedB"Am" BA A2 :|  