#1592 Tenkei 90 mStr=sorted("kyoprotenkei90") s=sorted(input()) if s==mStr: print('Yes') else: print('No')