#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로 제공되는 모든 OJ를 이용하고 참여하실 수 있습니다.
YZOJ 공용 계정을 사용