Sponsored
Use these hints if you're stuck. Try solving on your own first.
Consider the representation of the given number in the base n - 2.
The number n in base (n - 2) is always 12, which is not palindromic.
Solve with full IDE support and test cases