#include <iostream>
#include <string>
#include <vector>
#include <map>
#include <iterator>
#include <algorithm>

template<typename T, size_t S>
T& pick(T(&a)[S]) {
   return a[rand() % S];
}

std::map<std::string, std::string> cyrillic = {
   {"а", "А"}, {"б", "Б"}, {"в", "В"}, {"г", "Г"}, {"д", "Д"},
   {"е", "Е"}, {"ё", "Ё"}, {"ж", "Ж"}, {"з", "З"}, {"и", "И"},
   {"й", "Й"}, {"к", "К"}, {"л", "Л"}, {"м", "М"}, {"н", "Н"},
   {"о", "О"}, {"п", "П"}, {"р", "Р"}, {"с", "С"}, {"т", "Т"},
   {"у", "У"}, {"ф", "Ф"}, {"х", "Х"}, {"ц", "Ц"}, {"ч", "Ч"},
   {"ш", "Ш"}, {"щ", "Щ"}, {"ъ", "Ъ"}, {"ы", "Ы"}, {"ь", "Ь"},
   {"э", "Э"}, {"ю", "Ю"}, {"я", "Я"}
};

std::string cyrillic_toupper(std::string s) {
   if(cyrillic.find(s) == cyrillic.end())
      throw 1;
   return cyrillic[s];
}

const char *a[] = {"педальн", "помойн", "фекальн", "петушин", "обоссанн", "обосранн", "пидорнут"};
const char *b[] = {"моче", "кало"};
const char *c[] = {"подтирач", "навозач", "блевач", "педальчан", "залупач", "обоссач", "обосрач", "барак", "туалет", "унитаз", "петушач", "курятник", "глотач", "харкач", "дристач"};
const char *d[] = {"параша", "подмывальня", "канава", "обиженка", "помойка"};

const char *tpl[] = {
   "%w%%a%ый %b%%c%",
   "%w%%a%ая %b%%d%",
   "%a%о%a%ый %w%%c%",
   "%a%о%a%ая %w%%d%",
   "%a%ый %w%%c%",
   "%a%ая %w%%d%"
};

int main() {
   srand(time(NULL));

   std::string word;
   std::cin >> word;
   word.erase(std::remove(word.begin(), word.end(), '%'), word.end());
   if(word.empty())
      return 1;

   std::vector<std::string> res;

   for(int i = 0; i < 100; i++) {
      std::string str = pick(tpl);

      std::string::size_type pos = 0;
      while((pos = str.find('%', pos)) != std::string::npos) {
         switch(str[pos + 1]) {
            case 'a': str.replace(pos, 3, pick(a)); break;
            case 'b': str.replace(pos, 3, pick(b)); break;
            case 'c': str.replace(pos, 3, pick(c)); break;
            case 'd': str.replace(pos, 3, pick(d)); break;
            case 'w': str.replace(pos, 3, word); break;
         }
         pos++;
      }

      if(std::find(res.begin(), res.end(), str) != res.end()
         || str.compare((str.find(' ') / 2) - 3, 2, "о") != std::string::npos) {
         i--;
         continue;
      }

      str.replace(0, 2, cyrillic_toupper(str.substr(0, 2)));

      res.push_back(str);
   }

   std::copy(
      res.begin(),
      res.end(),
      std::ostream_iterator<std::string>(std::cout, "\n")
   );

   return 0;
}
