LCM#135

LCM

1 second
122.174 megabytes
Medium

Find the least common multiple (LCM) of positive integers.

Input

The first line contains the integer (1 < n < 21).The second line contains positive integers separated by spaces. Each number does not exceed .

Output

Print the least common multiple of the given numbers.

Examples

Example 1

Loading
Loading