#include <bits/stdc++.h>
using namespace std;
bool mark[27];
int main() {
  mark['a' - 'a' + 1] = true;
  mark['o' - 'a' + 1] = true;
  mark['u' - 'a' + 1] = true;
  mark['i' - 'a' + 1] = true;
  mark['e' - 'a' + 1] = true;
  string s;
  cin >> s;
  int n = s.length();
  s = " " + s;
  int flag = 1;
  for (int i = 1; i <= n; i++) {
    if (s[i] != 'n' && !mark[s[i] - 'a' + 1] && !mark[s[i + 1] - 'a' + 1]) {
      flag = 0;
      break;
    }
  }
  if (flag)
    cout << "YES";
  else
    cout << "NO";
}
