LearnPy Hub
← Arena
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
solution.py
Output appears here
LCM of 1 to N · Python Arena problem · LearnPy Hub