#include "stdio.h"int isp(int n){ int m=0; int t=n; while(t) { m=m*10+t%10; t/=10; } return m==n;}void main(){ int n; scanf("%d",&n); if(isp(n)) printf("是回文\n"); else printf("不是回文\n");}