POJ#1664 Recursive solution. Rank:8116