시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
---|---|---|---|---|---|
2 초 | 512 MB | 197 | 43 | 31 | 19.375% |
"your uf of library have bugs" -- Dudu, 2015
Dudu realized that English is a very inefficient language. To address this issue he created his own dialect: dudu of english. Here are a couple of examples:
Your job is to write the first translator from English to dudu of english, using the following rules:
The rules should be applied in the order specified above. Don't print any leading spaces (spaces at the beginning of a line).
of-words are: of, to, into, onto, above, below, from, by, is, at.
Dudu considers any character that isn't a lowercase or uppercase letter, a space, or a line break to be punctuation.
The input will start with an integer N indicating the number of lines to be translated.
The next N lines will contain the text to be translated.
The total length of the text to be translated won't exceed 5000 characters.
utput the text of the nput
trnslated of ddu of nglish
3 Output the text from the input, translated into dudu of English. To Kill a Mockingbird. To be or not to be, that is the question.
utput the text of the nput trnslated of ddu of nglish of kill a mckingbird of be or not of be that of the qstion
ddu of nglish of rdable nough
of not hve xplnation