class HelloWorld {
public static void main
(String[] args
) { int vet[] = new int[50];
for (int i = 0; i < vet.length; i++) {
if (i % 2 == 0) {
vet[i] = (i + 1) * 2;
}
}
for (int i = 0; i < vet.length; i++) {
if (vet[i] == vet[vet.length - i - 1]) {
System.
out.
println(vet
[i
] + " É PALINDROMO"); }
}
}
}
Y2xhc3MgSGVsbG9Xb3JsZCB7CglwdWJsaWMgc3RhdGljIHZvaWQgbWFpbiAoU3RyaW5nW10gYXJncykJewogICAgICAgIGludCB2ZXRbXSA9IG5ldyBpbnRbNTBdOwogICAgICAgIGZvciAoaW50IGkgPSAwOyBpIDwgdmV0Lmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmIChpICUgMiA9PSAwKSB7CiAgICAgICAgICAgICAgICB2ZXRbaV0gPSAoaSArIDEpICogMjsKICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICBmb3IgKGludCBpID0gMDsgaSA8IHZldC5sZW5ndGg7IGkrKykgewogICAgICAgCWlmICh2ZXRbaV0gPT0gdmV0W3ZldC5sZW5ndGggLSBpIC0gMV0pIHsKICAgICAgICAgICAgICAgIFN5c3RlbS5vdXQucHJpbnRsbih2ZXRbaV0gKyAiIMOJIFBBTElORFJPTU8iKTsKICAgICAgICAgICAgfQogICAgICAgIH0KCX0KfQ==