#include <stdio.h>
int main()
{
char src[] = "timeismoney";
char dst[100];
int c;
int i;
for (i = 0; src[i]; i++) {
c = (src[i] - 'a') + (i + 1);
while (26 <= c) c -= 26;
dst[i] = 'a' + c;
}
dst[i] = '\0';
for (i = 0; dst[i]; i++) {
c = (dst[i] - 'a') - (i + 1);
while (c < 0) c += 26;
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbigpCnsKCWNoYXIJc3JjW10gPSAidGltZWlzbW9uZXkiOwoJY2hhcglkc3RbMTAwXTsKCWludAljOwoJaW50CWk7CgoJZm9yIChpID0gMDsgc3JjW2ldOyBpKyspIHsKCQljID0gKHNyY1tpXSAtICdhJykgKyAoaSArIDEpOwoJCXdoaWxlICgyNiA8PSBjKSBjIC09IDI2OwoJCWRzdFtpXSA9ICdhJyArIGM7Cgl9Cglkc3RbaV0gPSAnXDAnOwoJcHJpbnRmKCIlc1xuIiwgZHN0KTsKCWZvciAoaSA9IDA7IGRzdFtpXTsgaSsrKSB7CgkJYyA9IChkc3RbaV0gLSAnYScpIC0gKGkgKyAxKTsKCQl3aGlsZSAoYyA8IDApIGMgKz0gMjY7CgkJcHJpbnRmKCIlYyIsICdhJyArIGMpOwoJfQoJcHJpbnRmKCJcbiIpOwoJcmV0dXJuIDA7Cn0K