#include <iostream>
#include <algorithm>
using namespace std;
string s,t;
int main()
{
    getline(cin,s);
    s=s.substr(0,s.size()-1);
    t=s;
    reverse(t.begin(),t.end());
    if(t==s)
        cout << "Yes" << endl;
    else
        cout << "No" << endl;
    return 0;
}

 

posted on 2022-05-26 19:11  禹城我的家  阅读(1627)  评论(0)    收藏  举报