<?php
$text = 'A roza upala analom na lapu Azora';
$result = 'палиндром';
/*Спешите видеть! Анон делает всю работу за компьютера:*/
if ($firstCharacter = $secondCharacter) {
echo "Палидром работает! 1/10;\n";
}
if ($firstCharacter = $secondCharacter) {
echo "Палидром работает! 2/10;\n";
}
if ($firstCharacter = $secondCharacter) {
echo "Палидром работает! 3/10;\n";
}
if ($firstCharacter = $secondCharacter) {
echo "Палидром работает! 4/10;\n";
}
if ($firstCharacter = $secondCharacter) {
echo "Палидром работает! 5/10;\n";
}
if ($firstCharacter = $secondCharacter) {
echo "Палидром работает! 6/10;\n";
}
if ($firstCharacter = $secondCharacter) {
echo "Палидром работает! 7/10;\n";
}
if ($firstCharacter = $secondCharacter) {
echo "Палидром работает! 8/10;\n";
}
if ($firstCharacter = $secondCharacter) {
echo "Палидром работает! 9/10;\n";
}
if ($firstCharacter = $secondCharacter) {
echo "Палидром работает! ГОСПАДИ 10/10;\n";
}
PD9waHAKCmVycm9yX3JlcG9ydGluZygtMSk7CgokdGV4dCA9ICdBIHJvemEgdXBhbGEgYW5hbG9tIG5hIGxhcHUgQXpvcmEnOwokcmVzdWx0ID0gJ9C/0LDQu9C40L3QtNGA0L7QvCc7CgokdGV4dCA9IG1iX3N0cnRvbG93ZXIoJHRleHQpOwokdGV4dCA9IGV4cGxvZGUoJyAnLCAkdGV4dCk7CiR0ZXh0ID0gaW1wbG9kZSgiIiwgJHRleHQpOwoKJGZpcnN0Q2hhcmFjdGVyID0gbWJfc3Vic3RyKCR0ZXh0LCAwLCAxKTsKJHNlY29uZENoYXJhY3RlciA9IG1iX3N1YnN0cigkdGV4dCwgMjAsIDEpOwoKLyrQodC/0LXRiNC40YLQtSDQstC40LTQtdGC0YwhINCQ0L3QvtC9INC00LXQu9Cw0LXRgiDQstGB0Y4g0YDQsNCx0L7RgtGDINC30LAg0LrQvtC80L/RjNGO0YLQtdGA0LA6Ki8KaWYgKCRmaXJzdENoYXJhY3RlciA9ICRzZWNvbmRDaGFyYWN0ZX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