#include <bits/stdc++.h>
using namespace std;
int len;
string s;
int main() {
  cin >> s;
  s = '\000' + s;
  len = s.length() - 1;
  for (int i = 1; i <= len; i++) {
    int cnt = (int)(s[i - 1] - s[i]);
    cnt = (cnt + 256) % 256;
    if (cnt == 0) cnt = 256;
    printf("...\n");
    for (int j = 1; j <= cnt - 1; j++) {
      printf("...\n");
      printf(".X.\n");
      printf("...\n");
    }
    printf("...\n");
    printf(".X.\n");
    printf(".X.\n");
    printf("...\n");
  }
  return 0;
}
