calling getFactorization function
p = getFactorization ( A [ i ] ) NEW_LINE for i in range ( len ( p ) ) : NEW_LINE INDENT if p [ i ] in m . keys ( ) : NEW_LINE INDENT m [ p [ i ] ] += 1 NEW_LINE DEDENT else : NEW_LINE INDENT m [ p [ i ] ] = 1 NEW_LINE DEDENT DEDENT cnt = 0 NEW_LINE ans = 10 ** 9 + 7 NEW_LINE