#include <iostream>
#include <string>
using namespace std;
bool test01(string str)
{
return equal(str.begin(), str.end(), str.rbegin());
};
int main()
{
string str;
cin >> str;
bool ret = test01(str);
if (ret)
{
cout << "true" << endl;
}
else
{
cout << "false" << endl;
}
return 0;
};