LCM of 1 through n

Compute the least common multiple of all integers from 1 to n (n up to 10^8) and print it modulo 2^32.

Medium5Number theoryMathNo attempts yetTime limit2sMemory limit256 MB

Problem

Given a natural number nn, write a program that computes the least common multiple of every natural number from 11 to nn.

Input

The first line contains nn (2n1082 \le n \le 10^8).

Output

Print the least common multiple of every natural number that is at least 11 and at most nn. The answer can be very large, so print it modulo 2322^{32}.