#yuki1592 s=list(input()) t=list('kyoprotenkei90') a=sorted(s) b=sorted(t) if a==b: print('Yes') else: print('No')