Permutation solved