POJ#1270 Sort, permutation. Rank:8488