Develop a melody based on the provided sequence of chords.
'A', 'G', 'D', 'A', 'G', 'A', 'G', 'D', 'A', 'A', 'A', 'A', 'G', 'G', 'A', 'A', 'G', 'A'  
X:1
L:1/8
Q:1/2=120
M:4/4
K:A
 E2 |"A" A3 A A2 A2 |"G" BABc"D" d3 A |"A" BA=GA BAGA |"G" BA G2 E4 |"A" A3 A A2 A2 | 
"G" BABc"D" d4 |"A" edef =gfed |"A" (3cdc A2 A2 :: e2 |"A" e a2 a a2 a2 |"A" aba=g e2 ef | 
"G" =g2 ga gede |"G" =gfga gedg |"A" e a2 a a2 a2 |"A" aba=g e2 ef |"G" =gfga gfed | 
"A" (3cdc A2 A2 :|  