#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 (a\texttt{a}, e\texttt{e}, i\texttt{i}, o\texttt{o}, u\texttt{u}), adding p\texttt{p} and then adding the original vowel again. For example, kemija\texttt{kemija} becomes kepemipijapa\texttt{kepemipijapa}, and paprika\texttt{paprika} becomes papapripikapa\texttt{papapripikapa}.

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 ss, 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 s|s| be the length of ss. Then 1s1001 \leq |s| \leq 100. 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