#include int main() { int n, reverse=0, rem,temp, max_palindrom = 1; int i, j; for (i = 1; i <= 9; i++) { for (j = 1; j <= 9; j++) { n = 1*j; temp=n; while(temp!=0) { rem=temp%10; reverse=reverse*10+rem; temp/=10; } if(reverse==n) { printf("2\n"); } } } printf("%d ", max_palindrom); return 0; }