Valerio was recently introduced to the concept of excellent numbers:
a positive integer is considered excellent if its decimal representation only contains the digits and , and it is divisible by .
For example, and are excellent numbers ( and ), while is not ().
Valerio is wondering if there exists at least one excellent number with exactly digits.
Help him by finding one, or by determining that there are no excellent numbers with that number of digits!
Input data
The first (and only) line contains the integer .
Output data
You need to write a single line with an integer: an excellent number with digits, if there exists any. If there are multiple solutions, you may print any. Otherwise, if there is no such number, output .
Constraints and clarifications
- ;
- For tests worth points, .
- For tests worth more points, is even.
Example
stdin
2
stdout
15
Explanation
In the first sample case the number is a valid excellent number. is a correct answer, too.