Run ID:93024

提交时间:2024-10-07 15:44:22

#include<bits/stdc++.h> using namespace std; int main(){ int m,a,b,c,d; cin>>m; d=m%10; c=m/10%10; b=m/100%10; a=m/1000; if(b==d && c==a){ cout<<"YES"; }else{ cout<<"NO"; } }