https://progiez.com/indivisible-permutation-codechef-solution
Indivisible Permutation: INDIPERM