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