

Input

The input consists of a single string of uppercase letters A-Z. The length of the string is between 1 and 10 characters, inclusive.

Output

Output "YES" or "NO".

Examples

Input


NEAT


Output


YES


Input


WORD


Output


NO


Input


CODER


Output


NO


Input


APRILFOOL


Output


NO


Input


AI


Output


YES


Input


JUROR


Output


YES


Input


YES


Output


NO
#include <bits/stdc++.h>
using namespace std;
map<char, int> mp;
string s;
int main() {
  mp['A'] = 1;
  mp['E'] = 1;
  mp['F'] = 1;
  mp['H'] = 1;
  mp['I'] = 1;
  mp['K'] = 1;
  mp['L'] = 1;
  mp['M'] = 1;
  mp['N'] = 1;
  mp['T'] = 1;
  mp['V'] = 1;
  mp['W'] = 1;
  mp['X'] = 1;
  mp['Y'] = 1;
  mp['Z'] = 1;
  cin >> s;
  int sum = 0;
  for (int i = 0; i < s.length(); ++i) {
    sum += mp[s[i]];
  }
  if (sum == 0 || sum == s.length()) {
    printf("YES\n");
  } else {
    printf("NO\n");
  }
  return 0;
}
