Detailed Instructions: The task is to generate the correct answer for a given math problem.
Problem:Problem: the hcf of two numbers is 42 and the other two factors of their lcm are 10 and 20 . what is the largest number .
Solution:
840