find lcm and gcd