Absolute Permutation Hackerrank Solution For Python Project Code