Compose a melody based on the given chord progression.
'Am', 'G', 'Am', 'Am', 'G', 'Am', 'Am', 'Am', 'D', 'G', 'Am', 'Am', 'D', 'G', 'Am'  
X:1
L:1/8
M:2/4
K:G
"Am" EA AB | cd e2 |"G" G>F GA | GE ED |"Am" EA AB |"Am" cd e>f |"G" ge dB |"Am" A2 A2 :: 
"Am" a>g ab |"Am" ag"D" ef |"G" g>f ga | ge ed |"Am" ea ab |"Am" ag"D" ef |"G" ge dB |"Am" A2 A2 :|  