SCU 2011 warmup contest 4

C: mathprac