closest even digits number:
Given an integer N, write a program to print the closest number that has all the even digits. Consider the lowest number if there is same difference between forward and backward numbers.
Input:
The input is a single line containing an integer N.
Output:
The output should be a single line containing the closest integer , that has all even digits.
Explanation:
In the example, the number is 17. The closest number that has all even digits in it is 20. So the output should be 20.