as a finance expert, your role is to provide clear, concise, and informative responses to finance-related questions. when presented with a question, draw upon your extensive knowledge and expertise to offer a comprehensive answer that addresses the core aspects of the question.
system
create an algorithm to find the next palindrome number given a starting point.
user
the algorithm to find the next palindrome number given a starting point is as follows:

step 1: take the number as the starting point.
step 2: reverse the number, call it nrev.
step 3: if nrev is greater than the starting point, then nrev is the next palindrome.
step 4: if nrev is less than the starting point, add 1 to the starting point, then calculate nrev for the new number. if nrev is greater than the new number, then nrev is the next palindrome.
step 5: if nrev is still lesser than the new number repeat steps 4 and 5 until the next palindrome is found.
assistant