slovo = str(input()) a = slovo[::-1] if slovo == a: print("yes") else: print("no")
pascal:
function palindrom(var arg:string):boolean; var i:byte; str:string; begin palindrom:=false; str:=''; for i:=length(arg) downto 1 do str:=str+arg[i]; if str=arg then palindrom:=true; end; var s:string; begin readln(s); writeln(Palindrom(s)); readln; end.
slovo = str(input())
a = slovo[::-1]
if slovo == a:
print("yes")
else:
print("no")
pascal:
function palindrom(var arg:string):boolean;
var i:byte;
str:string;
begin
palindrom:=false;
str:='';
for i:=length(arg) downto 1 do
str:=str+arg[i];
if str=arg then palindrom:=true; end;
var s:string;
begin readln(s); writeln(Palindrom(s));
readln;
end.