#include<stdio.h>
#include<string.h>
#include<ctype.h>
int main(){
    char word[100];
    fgets(word,strlen(word),stdin);
    int isfound=0;
    if(('a'>word[100]||'z'<word[100]||'A'>word[100]||'Z'<word[100]||a!="")!=0){
        printf("Invalid input");
        return 0;
    }
    else{
        for(int i=0;i<strlen(word);i++){
            if(word[i]=='a'||word[i]=='e'||word[i]=='i'||word[i]=='o'||word[i]=='u'){
                word[i]=toupper(word[i]);
                printf("%c",word[i]);
            }
            else if(word[i]=='A'||word[i]=='E'||word[i]=='I'||word[i]=='O'||word[i]=='U'){
                word[i]=tolower(word[i]);
                printf("%c",word[i]);
           
            }
            else{
                printf("%c",word[i]);
            }
        }
    }
}