python project

Job ID: 31398605

Budget: ₹600 – ₹1,500 INR

COCI '08 Contest 3 #2 Kemija
Submit solution
All submissions
Best submissions
Points:5
Time limit:1.0s
Memory limit:32M
Problem type
Luka is fooling around in chemistry class again! Instead of balancing equations he is writing coded sentences on a piece of paper. Luka modifies every word in a sentence by adding, after each vowel (letters a, e, i, o and u), the letter p and then that same vowel again.

For example, the word kemija becomes kepemipijapa and the word paprika becomes papapripikapa. The teacher took Luka's paper with the coded sentences and wants to decode them.

Write a program that decodes Luka's sentence.

INPUT:
The coded sentence will be given on a single line. The sentence consists only of lowercase letters of the English alphabet and spaces. The words will be separated by exactly one space and there will be no leading or trailing spaces. The total number of character will be at most 100.

https://dmoj.ca/problem/coci08c3p2