def lcm(a: int, b: int) -> int:
# Return the Least Common Multiple of a and b.
from math import gcd
return abs(a * b) // gcd(a, b)
from functools import reduce
result = reduce(lcm, range(1, 21))
print(f"LCM of numbers from 1 to 20 is: {result}")
'''
run:
LCM of numbers from 1 to 20 is: 232792560
'''