Application problems on HCF and LCM