#include<bits/stdc++.h> using namespace std; string s1,s2; int main(){ getline(cin,s1); s2 = s1; reverse(s1.begin(),s1.end()); if(s1==s2) cout<<"yes"; else cout<<"no"; return 0; }
註冊一個 YZOJ 通用賬戶,您就可以在我們提供的所有線上評測服務上提交程式碼、參與討論。
使用您的 YZOJ 通用賬戶