program to computs hcf and lcm