s = set(list(input())) ans = set(list('kyoprotenkei90')) if ans == s: print('Yes') else: print('No')