SCU 2005' Warmup Contest 23

B: Factstone Benchmark