#include <bits/stdc++.h>
using namespace std;
int curChar = 0;
void doChar(int ord) {
  int i = 0;
  while (true) {
    if (curChar == 0) curChar = 256;
    curChar--;
    i++;
    if (curChar == ord) break;
  }
  assert(i <= 256);
  for (int j = 0; j < i; j++) cout << "X.";
  for (int j = i; j < 256; j++) cout << "..";
  cout << "\nX";
  for (int j = 0; j < 256 * 2 - 1; j++) cout << ".";
  cout << "\n";
  for (int j = 0; j < 256 * 2; j++) cout << ".";
  cout << "\n";
}
int main() {
  string s;
  cin >> s;
  for (char c : s) {
    doChar((int)c);
  }
  return 0;
}
