SCU 2005' Warmup Contest 18

G: Color the Map