Minimum Difference to a Perfect Permutation · cho.sh