#include <bits/stdc++.h>
char s[1000];
char g[64][10000];
int n;
int main() {
  scanf("%s", s);
  n = strlen(s);
  memset(g, '.', sizeof(g));
  int val = 255;
  for (int i = 0; i < n; i++) {
    int x = s[i];
    int id = i * 3 + 1;
    int need = (val - x + 256) % 256;
    for (int j = 0; j < need; j++) {
      g[id][j * 2 + 1] = 'X';
    }
    g[id][9997] = 'X';
    g[id - 1][9997] = 'X';
    val = (x + 255) % 256;
  }
  for (int i = 0; i < n * 3; i++) {
    g[i][9999] = '\0';
    puts(g[i]);
  }
  return 0;
}
