#include <stdio.h>
int main() {
char str[10];
scanf("%s", str);
printf("%s\n", str);
for (int i = 0; str[i] != '\0'; i++) {
printf("%c\n", str[i]);
}
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbigpIHsKICAgIGNoYXIgc3RyWzEwXTsKICAgIHNjYW5mKCIlcyIsIHN0cik7CiAgICBwcmludGYoIiVzXG4iLCBzdHIpOwogICAgZm9yIChpbnQgaSA9IDA7IHN0cltpXSAhPSAnXDAnOyBpKyspIHsKICAgICAgICBwcmludGYoIiVjXG4iLCBzdHJbaV0pOwogICAgfQp9Cg==