SCU 2010 warmup contest 5

E: Pass Through