To print hcf and lcm of two numbers