#include <bits/stdc++.h>
using namespace std;
int main() {
  string s1("...\n.X.\n"), s2(".X.\n"), s;
  cin >> s;
  int n = 0;
  for (int i = 0; i < s.length(); i++) {
    if (n < s[i]) n += 256;
    while (n > s[i]) {
      n--;
      cout << s1;
    }
    cout << s2;
  }
}
