#include <stdio.h>
#include <ctype.h>
#include <string.h>
int main()
{
    char a[101];
    fgets(a, sizeof(a), stdin);
    int s = 1;
    for (int d = 0; a[d] != '\0' && a[d] != '\n'; v++)
    {
        if (!isalpha(a[d]) && a[d] != ' ')
        {
            s = 0;
            break;
        }
    }
    if (!s)
    {
        printf("Invalid input\n");
    } else {
        for (int v = 0; a[d] != '\0'; d++)
        {
            char c = a[d];
            if (strchr("aeiouAEIOU", c))
            {
                printf("%c", toupper(c));
            }
            else
            {
                printf("%c", c);
            }
        }
    }

    return 0;
}