#include <bits/stdc++.h>
using namespace std;
template <typename T>
auto operator<<(ostream& out, T& container)
    -> decltype(container.begin(), container.end(), out) {
  bool first = true;
  out << "[";
  for (auto it = container.begin(); it != container.end(); ++it) {
    if (!first) out << ", ";
    out << *it;
    first = false;
  }
  return out << "]";
}
string s;
int cur = 0;
int main() {
  cin >> s;
  for (int i = 0; i < s.size(); ++i) {
    int c = ((int)s[i]) + 1;
    while (cur < c) {
      cout << ".....\n";
      cout << ".....\n";
      cout << "X..XX\n";
      cout << "XXXXX\n";
      cur += 3;
    }
    while (cur > c) {
      cout << ".....\n";
      cout << ".....\n";
      cout << "X..XX\n";
      cout << ".....\n";
      cout << ".....\n";
      cout << "..X..\n";
      cur--;
    }
    cout << ".....\n";
    cout << "..X..\n";
    cout << "..X..\n";
    cur--;
  }
}
