Your program will be given an integer
Input Specification
The first line of input contains the integer
The first digit in
Output Specification
Output the result on a single line. If there is no such number, output
Sample Input 1
Copy
156
Sample Output 1
Copy
165
Sample Input 2
Copy
330
Sample Output 2
Copy
0
Sample Input 3
Copy
27711
Sample Output 3
Copy
71127
Comments