Almost Sorted Permutation | CodeChef