Compose a melody based on the given chord progression.
'G', 'F', 'G', 'F', 'G', 'D', 'G', 'G', 'F', 'G', 'F', 'D', 'G', 'D', 'G', 'D', 'G'  
X:1
L:1/8
M:2/2
K:G
 (Bc) |:"G" dBGF GBdB |"F" cA=FE FAcA |"G" BAGF GB (3def | gbaf gage | dedB G2 AB | 
"F" c=fcA =F2 Ac |"G" BGgd"D" ecdF | AGGF"G" G2 :: (GA) |"G" Bcde"F" =fdcA |"G" dDEF GFGA | 
 Bcde"F" =fdge |"D" afd^c d2 (3def |"G" gdBG"D" ecAF |"G" GFGB"D" AG (3EFG | FDFA cedF | 
 AGGF"G" G2 :|  