<?php
$text = "А роза упала на лапу Азора";
$result = 'палиндром';
$halfLength = floor($length/2);
for ($i=0; $i <= $halfLength; $i++) {
echo "$sumb, $sumb1\n";
}
echo $result;
PD9waHAKCmVycm9yX3JlcG9ydGluZygtMSk7Cm1iX2ludGVybmFsX2VuY29kaW5nKCd1dGYtOCcpOwoKJHRleHQgPSAi0JAg0YDQvtC30LAg0YPQv9Cw0LvQsCDQvdCwINC70LDQv9GDINCQ0LfQvtGA0LAiOwokcmVzdWx0ID0gJ9C/0LDQu9C40L3QtNGA0L7QvCc7CgokdGV4dCA9IG1iX3N0cnRvbG93ZXIoJHRleHQpOwokdGV4dCA9IHN0cl9yZXBsYWNlKCIgIiwgIiIsICIkdGV4dCIpOwoKJGxlbmd0aCA9IG1iX3N0cmxlbigkdGV4dCk7CiRoYWxmTGVuZ3RoID0gZmxvb3IoJGxlbmd0aC8yKTsKCmZvciAoJGk9MDsgJGkgPD0gJGhhbGZMZW5ndGg7ICRpKyspCXsKCSRzdW1iID0gbWJfc3Vic3RyKCR0ZXh0LCAkaSwgMSk7Cgkkc3VtYjEgPSBtYl9zdWJzdHIoJHRleHQsICgkbGVuZ3RoLSRpKSwgMSk7CgllY2hvICIkc3VtYiwgJHN1bWIxXG4iOwp9CgplY2hvICRyZXN1bHQ7
а,
р, а
о, р
з, о
а, з
у, а
п, у
а, п
л, а
а, л
н, а
палиндром