s = list(input()) t = list('kyoprotenkei90') t.sort() if sorted(s) == t: print('Yes') else: print('No')