#include <bits/stdc++.h>
int currentChar;
void decrementCurrentChar() {
  currentChar--;
  if (currentChar == -1) currentChar = 255;
  puts("...");
  puts(".X.");
}
void printCurrentChar() {
  puts(".X.");
  puts("...");
  puts("...");
}
int main() {
  char message[20];
  scanf("%s", message);
  for (size_t i = 0; i < strlen(message); i++) {
    int c = message[i];
    while (currentChar != c) decrementCurrentChar();
    printCurrentChar();
    decrementCurrentChar();
  }
}
