Least Common Multiple
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Find the Least Common Multiple of all positive integers from 1 to n.
Input
One positive integer n (1 ≤ n ≤ 30).
Output
Print the Least Common Multiple of all positive integers from 1 to n.
Examples
Input #1
Answer #1
Submissions 2K
Acceptance rate 35%