Novartis Interview Question

LCM, HCF questions involving finding the number.