SCU 2011 warmup contest 7

A: Balanced Number