from functools import reduce
from math import gcd


def lcm(*nums):
    """Return the least common multiple of an arbitrary collection of numbers."""
    pass # Your implementation here. Use `reduce`. This function can be implemented in only one line!


print(lcm(3, 5))
print(lcm(41, 106, 12))
print(lcm(1, 2, 6, 24, 120, 720))
print(lcm(3))
print(lcm())
