SCU 2011 warmup contest 6

C: space