#include <stdio.h>
int Inverte(int n) {
int l = 0, j;
while (n != 0) {
j = n % 10;
l = (l * 10) + j;
n /= 10;
}
return l;
}
int main(void) {
int i;
printf(i
== Inverte
(i
) ? "sim" : "nao"); }
//https://pt.stackoverflow.com/q/340095/101
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgSW52ZXJ0ZShpbnQgbikgewoJaW50IGwgPSAwLCBqOwoJd2hpbGUgKG4gIT0gMCkgewoJICAgIGogPSBuICUgMTA7CgkgICAgbCA9IChsICogMTApICsgajsKCSAgICBuIC89IDEwOwoJfQoJcmV0dXJuIGw7Cn0KaW50IG1haW4odm9pZCkgewoJaW50IGk7CglzY2FuZigiJWQiLCAmaSk7CglwcmludGYoaSA9PSBJbnZlcnRlKGkpID8gInNpbSIgOiAibmFvIik7Cn0KCi8vaHR0cHM6Ly9wdC5zdGFja292ZXJmbG93LmNvbS9xLzM0MDA5NS8xMDE=