lcm and hcf previous year questions