Multifactorial#1214

Multifactorial

1 second
128 megabytes
Easy

The -multifactorial of is denoted by \text{fac}[k](n) and is defined as the product of every positive number of the form n - k \cdot x, where x = 0, 1, 2, \ldots.

A formal definition of multifactorial is:

\text{fac}[k](n) = \begin{cases} n, & \text{if } k \ge n; \\ n \times \text{fac}[k](n - k), & \text{if } k < n. \end{cases}

You will be given and and have to evaluate the value of \text{fac}[k](n). If the result is strictly greater than 10^{18}, you must print overflow.

Input

Two integers and (1 \le n, k \le 2 \times 10^9).

Output

Print the value of \text{fac}[k](n). If it is strictly greater than 10^{18}, print overflow.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading