Print all two-digit numbers that, when squared, give a palindrome.

program n1;
var i, k, x, y: integer;
begin
for i: = 10 to 99 do begin
k: = i * i;
if (k div 1000 = 0) then
if (k div 100 = k mod 10) then writeln (i)
else begin
x: = k div 100;
y: = k mod 100;
if (x mod 10 = y div 10) and (x div 10 = y mod 10) then writeln (i);
end;
end;
end.
Answer: 11, 22, 26



One of the components of a person's success in our time is receiving modern high-quality education, mastering the knowledge, skills and abilities necessary for life in society. A person today needs to study almost all his life, mastering everything new and new, acquiring the necessary professional qualities.