#include <iostream>
#include <string>
#include <vector>
#include <map>
#include <set>
#include <queue>
#include <stack>
#include <algorithm>
#include <numeric>
#include <cstring>
#include <cmath>

using namespace std;

int main(int argc, char *argv[]) {
  string s;
  map<char, map<char, string> > keys = {{'1', {{'T', "a"}, 
                                               {'L', "i"},
                                               {'U', "u"},
                                               {'R', "e"},
                                               {'D', "o"}}}, 
                                        {'2' ,{{'T', "ka"},
                                               {'L', "ki"},
                                               {'U', "ku"},
                                               {'R', "ke"}, 
                                               {'D', "ko"}}},
                                        {'3' ,{{'T', "sa"}, 
                                               {'L', "si"},
                                               {'U', "su"}, 
                                               {'R', "se"}, 
                                               {'D', "so"}}},
                                        {'4' ,{{'T', "ta"},
                                               {'L', "ti"},
                                               {'U', "tu"}, 
                                               {'R', "te"}, 
                                               {'D', "to"}}},
                                        {'5' ,{{'T', "na"}, 
                                               {'L', "ni"},
                                               {'U', "nu"}, 
                                               {'R', "ne"}, 
                                               {'D', "no"}}},
                                         {'6' ,{{'T', "ha"}, 
                                                {'L', "hi"},
                                                {'U', "hu"}, 
                                                {'R', "he"},
                                                {'D', "ho"}}},
                                        {'7' ,{{'T', "ma"},
                                               {'L', "mi"},
                                               {'U', "mu"},
                                               {'R', "me"},
                                               {'D', "mo"}}},
                                        {'8' ,{{'T', "ya"},
                                               {'U', "yu"},
                                               {'D', "yo"}}},
                                        {'9' ,{{'T', "ra"}, 
                                               {'L', "ri"},
                                               {'U', "ru"},
                                               {'R', "re"},
                                               {'D', "ro"}}},
                                        {'0' ,{{'T',"wa"},
                                               {'U', "nn"},
                                               {'D', "wo"}}}};
  
  cin >> s;
  for (int i = 0, iloop = s.size(); i < iloop; i += 2)
    cout << keys[s[i]][s[i+1]];
  cout << endl;
  return 0;
}

Measured memory_bytes: 1212