#include <bits/stdc++.h>
int main() {
  const char* insns[2] = {"X.", ".X"};
  unsigned cur = 0;
  for (unsigned char c = getchar(), last = 0; c > 32 && c <= 122;
       c = getchar()) {
    for (unsigned char i = last - c; i; i--) {
      cur ^= 1;
      puts(insns[cur]);
    }
    puts(insns[cur]);
    last = c;
  }
  puts("..");
  return 0;
}
