#arc110a. [arc110_a]Redundant Redundancy
[arc110_a]Redundant Redundancy
Problem Statement
We have an integer .
Print an integer between and (inclusive) such that, for every integer between and (inclusive), the remainder when is divided by is .
Under the constraints of this problem, there is always at least one such integer .
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
Print an integer between and (inclusive) such that, for every integer between and (inclusive), the remainder when is divided by is .
If there are multiple such integers, any of them will be accepted.
Sample Input 1
3
Sample Output 1
7
The remainder when is divided by is , and the remainder when is divided by is , too.
is an integer between and , so this is a desirable output.
Sample Input 2
10
Sample Output 2
39916801