

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
import java.io.*;
import java.math.*;
import java.security.*;
import java.text.*;
import java.util.*;
import java.util.concurrent.*;
import java.util.function.*;
import java.util.regex.*;
import java.util.stream.*;
public class NeatWords{//PRACTICE
    public static void main(String args[]){
        FastScanner sc=new FastScanner(System.in);
        char ch[]=new char[]{'B','C','D','G','J','O','P','Q','R','S','U'};
        HashSet<Character> set=new HashSet<>();
        for(int i=0;i<ch.length;i++){
            set.add(ch[i]);
        }
        String s=sc.next();
        int c1=0,c2=0;
        int n=s.length();
        for(int i=0;i<n;i++){
            if(set.contains(s.charAt(i))){
                c1++;
            }
            else{
                c2++;
            }
        }
        if(c1==0 || c2==0){
            System.out.println("YES");
        }
        else{
            System.out.println("NO");
        }
    }
    static class FastScanner {
        BufferedReader br;
        StringTokenizer st;

        FastScanner(InputStream stream) {
            try {
                br = new BufferedReader(new
                    InputStreamReader(stream));
            } catch (Exception e) {
                e.printStackTrace();
            }
        }

        String next() {
            while (st == null || !st.hasMoreTokens()) {
                try {
                    st = new StringTokenizer(br.readLine());
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
            return st.nextToken();
        }

        String nextLine() { 
            String str = ""; 
            try
            { 
                str = br.readLine(); 
            } 
            catch (IOException e) 
            { 
                e.printStackTrace(); 
            } 
            return str; 
        }

        int nextInt() {
            return Integer.parseInt(next());
        }
        long nextLong() {
            return Long.parseLong(next());
        }
    }
}