# No.1592 Tenkei 90 # https://yukicoder.me/problems/no/1592 S = list(input()) T = list('kyoprotenkei90') S.sort() T.sort() if S == T: print('Yes') else: print('No')