시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
---|---|---|---|---|---|
1 초 | 256 MB | 26 | 19 | 17 | 73.913% |
Nimions speak a funny form of language.
Whichever word they are trying to say, from which ever language, it doesn’t quite come out the same. There are several rules for converting words, from any language, to nimionese.
For any word:
The only line of input contains a sentence of between 1 and 50 words and up to 104 symbols, including single whitespace characters (‘ ’) between words and the dashes (‘-’) between each syllable.
Apart from dashes, the sentence will contain solely lower-and-upper-case Latin letters — and only the first letters of words can be upper-case.
Write to standard output the same sentence from the input, translated to nimionese. Remove any dashes before printing.
It is guaranteed that the output will fit within 5 · 104 characters
I love ba-na-na
Gah kove bababa
Cat-a-pil-lar
Catacillar
Co-ding is the best
Cociccah gs the bestuh
I rock at co-lour-ing
Gah pockoh btuh colouriccah