#include <stdio.h>
#include <ctype.h>

int main(){
    int o;
    scanf("%d", &o);

    char str[3001];
    o++;

    for(int i = 0; i < o; i++){
        scanf("%c", &str[i]);
    }

    char special[5] = {'@', '!', '^', '#', '*'};
    char key[5] = {'a', 'i', 'u', 'e', 'o'};
    for(int l = 0; l < o; l++){
        for(int j = 0; j < 5; j++){
            if(str[l] == special[j]){
                str[l] = key[j];
                break;
            }
        }
    }

    for(int i = 0; i < o; i++){
        str[i] = tolower(str[i]);
    }

    // h u t n u r   a m a l   h a l e t   m a l a g n   n a a j a r e k
    // 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2
    char new_str[3001];
    for(int i = 0; i < o; i++){
        new_str[i] = str[o-i-1];
    }

    for(int i = 0; i < o; i++){
        printf("%c", new_str[i]);
    }
    return 0;
}
