T = list('kyoprotenkei90') S = list(input()) if sorted(T)==sorted(S): print('Yes') else: print('No')