solved [permutations 2]