UVa 11922 - Permutation Transformer