If the total number of prime numbers is greater than or equal to the total number of prime indices , then it is possible to convert the array into perfectly prime
if ( cPrimeNos >= cPrimeIndices ) return cMinSwaps ; else return -1 ; }