Oracle Interview Question

Coding Question : nearest palindrome to the given number