Məsələlər
Dördrəqəmli polindrom
include <bits/stdc++.h>
using namespace std;
int main() {
iosbase::syncwith_stdio(false); cin.tie(nullptr); long long n; cin>>n; int a=n/1000; int b=n/100%10; int c=n%100/10; int d=n%10; if(a==d && b==c){ cout<<"YES"; } else{ cout<<"NO"; } }