Seyyed MoJaK friend Sajjad Sajjad like permutation Seyyed want change permutation way Sajjad will not like Seyyed think swap yield probability make MoJaK perform swap pair position ij ij exactly MoJaK do not like upset SajjadGiven permutation determine possible swap pair position permutation stay if possible find