calling getFactorization function
List < int > p = getFactorization ( A [ j ] ) ; for ( int i = 0 ; i < p . Count ; i ++ ) if ( m . ContainsKey ( p [ i ] ) ) m [ p [ i ] ] = m [ p [ i ] ] + 1 ; else m . Add ( p [ i ] , 1 ) ; } int cnt = 0 , ans = 10000000 ;