#include <stdio.h>
int main(void) {
int a = 0, b = 0;
//a = (a < 0) ? -a : a;
while (a) {
b = b * 10 + (a % 10);
a /= 10;
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7CglpbnQgYSA9IDAsIGIgPSAwOwogICAgc2NhbmYoIiVkIiwgJmEpOwogICAgLy9hID0gKGEgPCAwKSA/IC1hIDogYTsKCiAgICB3aGlsZSAoYSkgewogICAgICAgIGIgPSBiICogMTAgKyAoYSAlIDEwKTsKICAgICAgICBhIC89IDEwOwogICAgfQoKICAgIHByaW50ZigiJWRcbiIsIGIpOwoJcmV0dXJuIDA7Cn0K