SCU 2005' Warmup Contest 28

B: Clock