Hong wants to sort a given permutation by swapping two adjacent elements. It's easy for Hong to do that with minimum operations.
Hong find that for some permutation, the solution is unique. Hong thinks that these permutation is good.
However, Hong is not good at maths. He asks you to judge whether the solution for the given permutation is unqiue.
Solution means the sequence of elements we choose in each operation.