#include <bits/stdc++.h>
using namespace std;
int i, j, n, m;
string s;
char c;
int main() {
  std::cin.sync_with_stdio(false);
  std::cin.tie(0);
  cin >> s;
  i = 0;
  j = 0;
  while (i < s.length()) {
    c = s[i];
    while (j != c) {
      cout << ".....\n..X..\n";
      j--;
      j += 256;
      j %= 256;
      m += 2;
    }
    cout << "..X..\n";
    m++;
    i++;
  }
  return 0;
}
