SCU 2009 warmup contest 10

J: Secret Task