SCU 2011 warmup contest 6

G: traffic