#include <iostream>
using namespace std;
int main(){ int v[1000] ,i,n, in,r,nr;
cin>>n;
for(i=1;i<=n;i++) { cout<<"v["<<i<<"]=";cin>>v[i];}
cout<<"Numerle palindrom sunt :"; nr=0;
for(i=1;i<=n;i++) { if(v[i]>10) { in=0; r=v[i]; while(r!=0) { in=in*10+r%10; r=r/10; } if(in==v[i]) {
nr=nr+1;} } } cout<<"Sunt "<<nr<<" palindroame ";}