#38287: CPP ANS


yp11251094@yphs.tp.edu.tw (907-45羅元甫)

學校 : 臺北市私立延平高級中學
編號 : 246062
來源 : [203.72.178.2]
最後登入時間 :
2025-09-25 11:47:15

#include <bits/stdc++.h>
using namespace std;
int main(){
    ios_base::sync_with_stdio(0);
    cin.tie(0);
    string s;
    cin >> s;
    string t = s;
    reverse(s.begin(), s.end());
    if(s == t) cout << "yes\n";
    else cout << "no\n";
}