#include <bits/stdc++.h>
using namespace std;
string gen(int len) {
  string res(len + len, '.');
  for (int i = 0; i < len; ++i) res[2 * i] = 'X';
  return res;
}
int main() {
  string s;
  getline(cin, s);
  const int B = 600;
  const int n = s.size();
  int cur = 0;
  int ln = 0;
  for (int i = 0; i < n; ++i) {
    int code = s[i];
    int sub = (256 + cur - code) % 256;
    cur = code;
    string cur_s = ".";
    if (i % 2 == 1) cur_s += string(B, '.');
    if (n % 2 == 1 && i != 0) cur_s += string(B, '.');
    cur_s += gen(sub) + string(B - sub * 2, '.');
    if (n % 2 == 1 && i == 0) cur_s += string(B, '.');
    if (i % 2 == 0) cur_s += string(B, '.');
    cur_s += "X";
    cout << cur_s << endl;
    ln = cur_s.size();
  }
  if (n == 1) cout << "X" + string(ln - 3, '.') + "XX" << endl;
}
