
    Given a content moderation post ID, transform it into the next available palindromic ID number that is larger than the current ID for flagging posts that require secondary review. The palindromic ID must be the smallest possible number greater than the input ID that reads the same forwards and backwards.
    

    
import sys

def next_smallest_palindrome(num):
    """
    Given a content moderation post ID, transform it into the next available palindromic ID number that is larger than the current ID for flagging posts that require secondary review. The palindromic ID must be the smallest possible number greater than the input ID that reads the same forwards and backwards.
    

    """
import sys

def next_smallest_palindrome(num):
    """
    Given a content moderation post ID, transform it into the next available palindromic ID number that is larger than the current ID for flagging posts that require secondary review. The palindromic ID must be the smallest possible number greater than the input ID that reads the same forwards and backwards.
    

    """
    numstr = str(num)
    for i in range(num + 1, sys.maxsize):
        if str(i) == str(i)[::-1]:
            return i