#include <bits/stdc++.h>
using namespace std;
int main() {
  char s[105];
  scanf("%s", s);
  int N = strlen(s);
  printf("...\n...\n");
  int cur = 0;
  for (int i = 0; i < N; i++) {
    int goal = (int)(s[i]);
    while (true) {
      printf(".X.\n");
      cur = (cur - 1 + 256) % 256;
      if (cur == goal) break;
      printf("...\n");
    }
    printf(".X.\n...\n...\n");
  }
  return 0;
}
