Absolute Permutation Hackerrank Solution For Python Command Reference