Create melodies based on the given chord progressions.
'D', 'A', 'D', 'A', 'D', 'D', 'A', 'D', 'A', 'D', 'D', 'G', 'D', 'A', 'G', 'A', 'D', 'G', 'D', 'A', 'D'  
X:1
L:1/8
M:2/2
K:D
"D" A2 F2 D3 F | ABAG F2 D2 |"A" E2 C2 A,3 F | AcBA F A3 |"D" A2 F2 D4 | ABAG F2 DF | 
"A" E2 C2 A,CEG | FDEF"D" D4 |"D" A2 F2 D4 | dBAG F2 D2 |"A" E2 C2 A,2 E2 | AcBA F2 A2 | 
"D" A2 F2 A2 F2 | ABAG F2 DF |"A" E2 C2 E2 EG | FDEF"D" D4 |:"D" d2 fd"G" BcdB |"D" AdBA FG A2 | 
"A" Acdf edef |"G" gfed"A" cABc |"D" defd"G" BcdB |"D" ABAG F2 DF |"A" E2 C2 A,2 EG |33 
 FDEF"D" D4 :|  