Yelp Interview Question

Given an integer, find the nearest palindrome to it.