str = input() str = str.lower() if('a' in str and 't' in str and 'y' in str and 'p' in str and 'i' in str and 'c' in str and 'l' in str): print("YES") else: print("NO")