POJ#1840 hash. Rank:8924