IntermediateRating 1100
LCM of 1 to N
Print the least common multiple of all integers from 1 to n.
Input
One integer n (1 ≤ n ≤ 60).
Output
The LCM.
Sample 1
Input
10
Output
2520
Sample 2
Input
1
Output
1
Output appears hereOne integer n (1 ≤ n ≤ 60).
The LCM.
10
2520
1
1
Output appears here