Yahoo! Hack Beijing Challenge ---- Question 1