Find out the max multiple of a subset whose factor is primy to each other.