Pregunta de entrevista de Infosys

Find the minimum subset of array with same LCM as the array