SCU 2005' Warmup Contest 29

C: Count digits with daizi