POJ 2139 Accepted 824K/47MS