Develop a melody based on the provided sequence of chords.
'A', 'E', 'A', 'C#', 'Bm', 'C#', 'E', 'A', 'E', 'A', 'C#', 'Bm', 'A', 'E', 'A', 'A', 'E', 'A', 'C#', 'Bm', 'C#', 'Bm', 'E', 'A', 'G#', 'F#m', 'C#', 'Bm', 'A', 'E', 'A'  
X:1
L:1/8
M:4/4
K:A
|: g2 |"A" a2 eg"E" a2 eg |"A" a2 eg"C#" fedc |"Bm" dfBf"C#" dfBf |"E" dfba gefg | 
"A" a2 eg"E" a2 eg |"A" a2 eg"C#" fedc |"Bm" defd"A" ecBA |"E" E2 G2"A" A2 :: ed | 
"A" ceAe"E" ceAe |"A" ceag"C#" fedc |"Bm" dfBf"C#" dfBf |"Bm" dfba"E" gfed |"A" ceAe"G#" ceAe | 
"F#m" ceag"C#" fedc |"Bm" defd"A" ecBA |"E" E2 G2"A" A2 :|  