#include <bits/stdc++.h>
using namespace std;
template <class T>
ostream& operator<<(ostream& os, vector<T> v) {
  for (long long i = (0); i < ((long long)(v).size()); i++)
    os << (i ? " " : "") << v[i];
  return os;
}
const bool debug = 1;
string a = ".....X.....";
string b = "....XXX....";
string c = "...........";
string d = "X.........X";
string e = "X..........";
string f = ".....X.....";
string g = "....XXX....";
string h = "X..XXXXX.XX";
signed main() {
  string s;
  cin >> s;
  long long curr = 0;
  for (long long j = 0; j < (long long)(s).size(); j++) {
    while (curr < s[j]) {
      cout << a << endl;
      cout << b << endl;
      if (j != 0) cout << h << endl;
      cout << c << endl;
      if (j == 0)
        curr = (curr + 1) % 256;
      else
        curr = (curr + 2) % 256;
    }
    while (curr != s[j]) {
      cout << a << endl;
      cout << c << endl;
      curr--;
    }
    cout << d << endl;
    cout << e << endl;
    cout << c << endl;
    cout << c << endl;
  }
  return 0;
}
