SCU 2010 warmup contest 5

A: An Easy Game