#P6409. [COCI 2008/2009 #3] KEMIJA
[COCI 2008/2009 #3] KEMIJA
Description
Luka is messing around again in chemistry class! Instead of writing chemical equations, he is writing a strange sentence.
Luka encrypts a word by, after each vowel letter (, , , , ), adding and then adding the original vowel again. For example, becomes , and becomes .
The teacher wants to know what naughty Luka wrote. Please help the teacher by writing a decryption program.
Input Format
One line with a string , representing the encrypted sentence. The testdata guarantees there are no leading or trailing spaces, but spaces may appear in the middle of the sentence.
Output Format
One line with a string, representing the decrypted sentence.
zepelepenapa papapripikapa
zelena paprika
bapas jepe doposapadnapa opovapa kepemipijapa
bas je dosadna ova kemija
Hint
Constraints
Let be the length of . Then . The testdata guarantees that the string contains only lowercase letters or spaces.
Explanation
Translated from COCI2008-2009 CONTEST #3 T2 KEMIJA.
Translated by ChatGPT 5
京公网安备 11011102002149号