#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>

int isVowel(char ch) {
    ch = tolower(ch);
    return (ch == 'a' || ch == 'e' || ch == 'i' || ch == 'o' || ch == 'u');
}

int compare(const void *a, const void *b) {
    return* ((char*)a - *(char*)b);
}

int main() {
    char str[100001];
    if (scanf("%100000s", str) != 1) {
        printf("Invalid input\n");
        return 0;
    }

    int len = strlen(str);

    // Validate input: only alphabets allowed
    for (int i = 0; i < len; i++) {
        if (!isalpha(str[i])) {
            printf("Invalid input\n");
            return 0;
        }
    }

    // ArrayList to store vowels dynamically
    char vowels = (char) malloc(len * sizeof(char));
    int vowelsCount = 0;

    // Extract vowels
    for (int i = 0; i < len; i++) {
        if (isVowel(str[i])) {
            vowels[vowelsCount++] = str[i];
        }
    }

    // Sort vowels in increasing ASCII order
    qsort(vowels, vowelsCount, sizeof(char), compare);

    // Replace vowels in original string with sorted vowels
    int index = 0;
    for (int i = 0; i < len; i++) {
        if (isVowel(str[i])) {
            str[i] = vowels[index++];
        }
    }

    printf("%s\n", str);

    free(vowels);
    return 0;
}