The Least Common Multiple#1655

The Least Common Multiple

1 second
128 megabytes
Very easy

Find the least common multiple of all integers from to .

The least common multiple of positive integers a_1, a_2, \ldots, a_k is a number such that is divisible by each a_i for all from to , and is the smallest positive integer with this property.

Input

One integer (1 \le n \le 1000).

Output

Output one integer — the least common multiple of all integers from to .

Examples

Example 1

Loading
Loading