#include <stdio.h>
#include <string.h>
#define MAXARY 1000
int main(void)
{
char s[MAXARY];
char c;
int i;
while (scanf("%s%c", s
, &c
) == 2) { for (i
= strlen(s
) - 1; i
> -1; i
--) }
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdHJpbmcuaD4KIAojZGVmaW5lIE1BWEFSWSAxMDAwCiAKaW50IG1haW4odm9pZCkKewogICAgY2hhciBzW01BWEFSWV07CiAgICBjaGFyIGM7CiAgICBpbnQgaTsKIAogICAgd2hpbGUgKHNjYW5mKCIlcyVjIiwgcywgJmMpID09IDIpIHsKICAgICAgICBmb3IgKGkgPSBzdHJsZW4ocykgLSAxOyBpID4gLTE7IGktLSkKICAgICAgICAgICAgcHJpbnRmKCIlYyIsIHNbaV0pOwogICAgICAgIHB1dGNoYXIoYyk7CiAgICB9CiAgICByZXR1cm4gMDsKfQ==