s = str(input()) s = list(s.lower()) tr = True for i in "atypical": if i in s: s[s.index(i)] = 'A' else: tr = False if tr: print("Yes") else: print("No")