#include <iostream>
#include <cstring>
using namespace std;
const char vowels[12] = {'a', 'e', 'i', 'o', 'u', 'A', 'E', 'I', 'O', 'U'};
const int MAX_SIZE = 100;
bool isVowel(char c) {
for (int j = 0; j < 10; ++j) {
if (c == vowels[j]) {
return true;
}
}
return false;
}
char addChars(char a[], char b[]) {
int n = strlen(a);
int j = 0;
for (int i = 0; i < n; ++i) {
b[j] = a[i];
++j;
if (isVowel(a[i])) {
b[j] = '$';
++j;
}
}
b[j] = '\0';
return b[j];
}
int main() {
char a[MAX_SIZE], b[MAX_SIZE + MAX_SIZE];
cin.getline(a, MAX_SIZE);
addChars(a, b);
cout << b;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y3N0cmluZz4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmNvbnN0IGNoYXIgdm93ZWxzWzEyXSA9IHsnYScsICdlJywgJ2knLCAnbycsICd1JywgJ0EnLCAnRScsICdJJywgJ08nLCAnVSd9Owpjb25zdCBpbnQgTUFYX1NJWkUgPSAxMDA7Cgpib29sIGlzVm93ZWwoY2hhciBjKSB7CiAgICBmb3IgKGludCBqID0gMDsgaiA8IDEwOyArK2opIHsKICAgICAgICBpZiAoYyA9PSB2b3dlbHNbal0pIHsKICAgICAgICAgICAgcmV0dXJuIHRydWU7CiAgICAgICAgfQogICAgfQogICAgcmV0dXJuIGZhbHNlOwp9CgpjaGFyIGFkZENoYXJzKGNoYXIgYVtdLCBjaGFyIGJbXSkgewogICAgaW50IG4gPSBzdHJsZW4oYSk7CiAgICBpbnQgaiA9IDA7CiAgICBmb3IgKGludCBpID0gMDsgaSA8IG47ICsraSkgewogICAgCWJbal0gPSBhW2ldOwogICAgCSsrajsKICAgICAgICBpZiAoaXNWb3dlbChhW2ldKSkgewogICAgICAgICAgICBiW2pdID0gJyQnOwogICAgICAgICAgICArK2o7CiAgICAgICAgfQogICAgfQogICAgYltqXSA9ICdcMCc7CiAgICByZXR1cm4gYltqXTsKfQoKaW50IG1haW4oKSB7CiAgICBjaGFyIGFbTUFYX1NJWkVdLCBiW01BWF9TSVpFICsgTUFYX1NJWkVdOwogICAgY2luLmdldGxpbmUoYSwgTUFYX1NJWkUpOwogICAgYWRkQ2hhcnMoYSwgYik7CiAgICBjb3V0IDw8IGI7CiAgICByZXR1cm4gMDsKfQ==