S = input() A = "kyoprotenkei90" if list(A).sort == list(S).sort(): print('Yes') else: print('No')