#include <bits/stdc++.h>
using namespace std;
char plusses[][31] = {
    "..............................", "..............X...............",
    ".............XXX..............", "............XXXXX.............",
    "...........XXXXXXX............", "..........XXXXXXXXX...........",
    ".........XXXXXXXXXXX..........", "........XXXXXXXXXXXXX.........",
    ".......XXXXXXXXXXXXXXX........", "......XXXXXXXXXXXXXXXXX.......",
    ".....XXXXXXXXXXXXXXXXXXX......", "....XXXXXXXXXXXXXXXXXXXXX.....",
    "...XXXXXXXXXXXXXXXXXXXXXXX....", "..XXXXXXXXXXXXXXXXXXXXXXXXX...",
};
int v[] = {0, -1, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23};
void to_zero(int t) {
  int j = 0;
  while (t) {
    printf("X.");
    j += 2;
    if (j >= 30) {
      j = 0;
      printf("\n%s\n", plusses[0]);
    }
    t--;
  }
  if (j == 0) return;
  while (j > 0) {
    printf("..");
    j += 2;
    if (j >= 30) j = 0;
  }
  printf("\n%s\n", plusses[0]);
}
void printchar(int c) {
  to_zero(c);
  printf("%s\n%s\n%s\n", plusses[1], plusses[1], plusses[0]);
}
int main() {
  int c;
  int last = 256;
  while (true) {
    c = getchar();
    if (c < 33 || c > 122) break;
    int t = last - c - 1;
    if (t < 0) t += 256;
    printchar(t);
    last = c;
  }
  return 0;
}
