POJ#1543 Simple Search/Iteration. Rank:8348