#include<stdio.h> #include<string.h> int main() { int n,i,j,k,t; char s[60]; scanf("%d",&n); for(i=1;i<=n;i++) { scanf("%s",s); k=strlen(s); for(j=0;j<k;j++) { if(s[j]=='a'||s[j]=='e'||s[j]=='i'||s[j]=='o'||s[j]=='u') s[j]-=32; if(s[j]=='A'||s[j]=='E'||s[j]=='I'||s[j]=='O'||s[j]=='U') continue; else if(s[j]>=65&&s[j]<=90) s[j]+=32; } printf("%s\n",s); } return 0; }