Develop a melody based on the provided set of chords.
'G', 'G7', 'C', 'C#dim', 'D', 'D7', 'C', 'D', 'G', 'G7', 'C', 'A', 'D', 'D7', 'G', 'C', 'G', 'D', 'C', 'G', 'D7', 'G', 'C', 'G'  
X:1
L:1/8
Q:1/4=100
M:3/4
K:G
 z B,A,B, |"G" G,2 B,3 D |"G7" D3 D (3B,A,G, |"C" C2 E3 G |"C#dim" E3 G FE |"D" D>E F>G A>B | 
"D7" (3c3/2d/c B2 A2 |"C" G3 A G>E |"D" D4 (3B,A,B, |"G" G,2 B,3 D |"G7" D4 (3DB,G, |"C" C2 E3 G | 
"A" E3 G FE |"D" D>E F>G A>B |"D7" c2 B2 A2 |"G" G2 G>A"C" G>F |"G" G3 A Bd || g4 (3gag | 
"D" f4 Ac |"C" e2 e>g ed |"G" B4 (3Bc^c |"D7" d3 e d=c | A3 D FA |"G" G3 A"C" A>G |"G" G4 ||  