hcf and lcm word problems for class 10 tricks