find the least common multiple among numbers