#include <bits/stdc++.h>
using namespace std;
int main() {
  int arr[26];
  memset(arr, 1, sizeof(arr));
  arr[0] = 0;
  arr['e' - 'a'] = 0;
  arr['i' - 'a'] = 0;
  arr['o' - 'a'] = 0;
  arr['u' - 'a'] = 0;
  arr['n' - 'a'] = 0;
  string s;
  cin >> s;
  int n = s.length();
  for (int i = 0; i < n; i++) {
    if (arr[s[i] - 'a']) {
      if (i + 1 == n) {
        cout << "NO";
        return 0;
      }
      if (arr[s[i + 1] - 'a']) {
        cout << "NO";
        return 0;
      }
      if (s[i + 1] == 'n') {
        cout << "NO";
        return 0;
      }
    }
  }
  cout << "YES";
}
