#include <stdio.h>
int main(void)
{
char arr[255];
int i = 0;
while (scanf("%c", &arr
[i
]) != EOF
) {
i++;
}
for (i = i; i >= 0; i--)
{
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKQp7CgljaGFyIGFyclsyNTVdOwoJaW50IGkgPSAwOwoJd2hpbGUgKHNjYW5mKCIlYyIsICZhcnJbaV0pICE9IEVPRikKCXsKCQlzY2FuZigiJWMiLCAmYXJyW2ldKTsKCQlpKys7Cgl9Cglmb3IgKGkgPSBpOyBpID49IDA7IGktLSkKCXsKCQlwcmludGYoIiVjIiwgYXJyW2ldKTsKCX0KCXJldHVybiAwOwp9