#include <bits/stdc++.h>
using namespace std;
const int MAX = 0x3f3f3f3f;
const double EPS = 1e-6;
const double PI = acos(-1.0);
string second;
int ch = 0;
signed main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cin >> second;
  for (int i = 0; second[i]; i++) {
    while (ch != second[i] + 1) {
      ch--;
      cout << "...\n.X.\n...\n";
      if (ch < 0) ch = 255;
    }
    cout << ".X.\n.X.\n...\n";
    ch--;
  }
  return 0;
}
