#include <bits/stdc++.h>
using namespace std;
const int maxn = 1000;
char c[maxn][maxn];
int x, y;
int cur = 0;
void makec(int c) {
  while (cur != c + 1) {
    ::c[x][y] = 'X';
    y += 2;
    if (y + 10 > maxn) x += 3, y = 0;
    --cur;
    if (cur < 0) cur = 255;
  }
  x += 2;
  y = 0;
  ::c[x][0] = ::c[x + 1][0] = 'X';
  x += 3;
  --cur;
}
int main() {
  memset(c, '.', sizeof c);
  for (int i = 0; i < (int)(maxn); ++i) c[i][maxn - 1] = 0;
  string s;
  cin >> s;
  for (char c : s) {
    makec(c);
  }
  for (int i = 0; i < (int)(x + 1); ++i) cout << c[i] << "\n";
  return 0;
}
