#include <iostream>
#include <string>
using namespace std;
bool blind(string s,int f , int l)
{
if (f == l)
return false;
if (s[f] != s[l])
return false;
if (f < =l )
return blind(s, f + 1, l - 1);
else
return true;
}
int main()
{
string s;
int f = 0;
int l;
cin >> s >> l;
if (blind(s,f,l))
cout << "yes";
else
cout << "no";
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwogCmJvb2wgYmxpbmQoc3RyaW5nIHMsaW50IGYgLCBpbnQgbCkKewogICAgaWYgKGYgPT0gbCkKICAgICAgICByZXR1cm4gZmFsc2U7CiAgICBpZiAoc1tmXSAhPSBzW2xdKQogICAgICAgIHJldHVybiBmYWxzZTsKICAgIGlmIChmIDwgPWwgKQogICAgICAgIHJldHVybiBibGluZChzLCBmICsgMSwgbCAtIDEpOwogICAgZWxzZQogICAgICAgIHJldHVybiB0cnVlOwp9CmludCBtYWluKCkKewogICAgc3RyaW5nIHM7CiAgICBpbnQgZiA9IDA7CiAgICBpbnQgbDsKICAgIGNpbiA+PiBzID4+IGw7CiAgICBpZiAoYmxpbmQocyxmLGwpKQogICAgICAgIGNvdXQgPDwgInllcyI7CiAgICBlbHNlCiAgICAgICAgY291dCA8PCAibm8iOwoKICAgIHJldHVybiAwOwp9
prog.cpp: In function ‘bool blind(std::__cxx11::string, int, int)’:
prog.cpp:11:13: error: expected primary-expression before ‘=’ token
if (f < =l )
^