s:= str(number);
for := 1 to length(s) div 2 do
if s[i] <> s[length(s) - i + 1] then writeln("Не палиндром")ж
s:= str(number);
for := 1 to length(s) div 2 do
if s[i] <> s[length(s) - i + 1] then writeln("Не палиндром")ж