For each K, output the smallest palindrome larger than K.

Printable View