Write a piece of music that adheres to the indicated chord sequence.
'Am', 'G', 'Am', 'Em', 'Am', 'Em', 'Am', 'Am', 'G', 'Am', 'G', 'Am', 'Am', 'G', 'Am', 'G', 'Em', 'Am'  
X:1
L:1/8
M:4/4
K:D
"Am" A a2 ^g a2 ef |"G" gedB GABG |"Am" A a2 ^g a2 ef |1"Em" gedB"Am" A-A BG :|2 
"Em" gedB"Am" A3 B |:[K:D]"Am" =cAeA cAeA |"G" B=cdB G3 B |"Am" =cAeA cAeA |"G" BAGB"Am" A2 AB | 
"Am" =cAeA cAeA |"G" B=cdB G2 GB |"Am" AB=cd"G" efga |"Em" gedB"Am" A4 :|  