the problem of 537 on topcoder