hcf and lcm aptitude tricks