Run ID:81664
提交时间:2024-07-12 15:01:38
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; int r=0; int ts=n; while(n>0){ r=r*10+n%10; n/=10; } if(r==ts){ cout<<"yes"; }else{ cout<<"no"; } return 0; }