#include <iostream>
#include <cstring>
using namespace std;
 
const int MAX_LENGTH = 2000;
 
int main() {
	char array[2000];
	char index [25] = "abcdefghijklzyxwvutsrqop"; // 24 marimea;
	for (int i = 0; i < 24; ++i) {
			//cout << index[i]<< " " << i<<"\n";
		}
 
	while (cin.getline(array, MAX_LENGTH))  {
		int length = strlen(array);
		for (int i = 0; i < length; ++i) {
			array[i] = tolower(array[i]);
		}
		// cout  << "|"<< i <<"|\n";
		for (int i = 0; i < length; ++i) {
			int flag = 1;
			char aux ;
			if (array[i] == 'a') {
					cout << "1";
					flag = 0;
				}else if (array[i] == 'e') {
					cout << "2";
					flag = 0;
				} else if (array[i] == 'i') {
					cout << "3";
					flag = 0;
				} else if (array[i] == 'o') {
					cout << "4";
					flag = 0;
				} else if (array[i] == 'u') {
					cout << 5;
					flag = 0;
				}
			//if ((array[i] >= 'a' && array[i] <= 'l')) {
 
				if (flag == 1) {
					aux = array[i] ;
					if (array[i] >= 'a' && array[i] <= 'l') {
						for (int i = 0; i < 24; ++i) {
							if (aux == index[i]) {
								aux = index[i + 12];
								cout << aux << "";
							}
						}
					} else if (array[i] >= 'o' && array[i] <= 'z') {
						for (int i = 0; i < 24; ++i) {
							if (aux == index[i]) {
								aux = index[i - 12];
								cout << aux << "";
							}
						}
					} else if (array[i] == 'm') {
						aux = 'n';
						cout << aux << "";
					}else if (array[i] == 'n') {
						aux = 'm';
						cout << aux << "";
					}
 
				//	cout << aux;
				}
			//}
		}
		//cout << length <<" ";
	}
 
	return 0;
}