user: I'm working on a new track and I've got these two drum loops that I'm trying to synchronize. The first loop repeats every 18 beats, while the second one comes back around every 24 beats. I need them to align perfectly so that the patterns create a seamless rhythm in the song. Could you calculate the least common multiple for 18 and 24 beats to find out after how many beats they'll sync up?

Available functions:
name: math_lcm
description: Calculates the least common multiple of two numbers.
parameters: type: dict
properties: a: type: integer
description: The first number. This should be the larger number.
b: type: integer
description: The second number.
required: a
b
name: get_stock_price_by_stock_name
description: Finds the price of a stock by its stock name.
parameters: type: dict
properties: stock_name: type: string
description: The stock name of the product, in the format of the stock symbol.
required: stock_name
name: calculate_permutations
description: Calculates the number of permutations of k elements from a set of n elements.
parameters: type: dict
properties: n: type: integer
description: The number of elements in the set.
k: type: integer
description: The number of elements to choose.
required: n
k
name: calculate_displacement
description: Calculates the displacement of an object.
parameters: type: dict
properties: initial_velocity: type: float
description: The initial velocity of the object, in meters per second.
acceleration: type: float
description: The acceleration of the object, in meters per second squared.
time: type: float
description: The time the object has been moving, in seconds.
required: initial_velocity
acceleration
time