lcm of two number using gcd in python